Retro68/binutils/ld/testsuite/ld-elf/dl2.c
2012-03-26 21:18:29 +02:00

17 lines
179 B
C

#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 ();
}