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

15 lines
192 B
C

#include <stdio.h>
int bar = 10;
void
foo (void)
{
if (bar == 10)
printf ("bar is in DSO.\n");
else if (bar == -20)
printf ("bar is in main.\n");
else
printf ("FAIL\n");
}