Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-elf/dl2.c

17 lines
179 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
#include <stdio.h>
int foo;
extern void xxx (void);
void
bar (int x)
{
if (foo == 1)
printf ("OK1\n");
else if (foo == 0)
printf ("OK2\n");
foo = -1;
xxx ();
}