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

18 lines
190 B
C

#include <stdio.h>
#include <stdlib.h>
int foo;
void bar (void);
int
main ()
{
if (foo != 0)
abort ();
foo = 200;
bar ();
if (foo == 200)
printf ("PASS\n");
return 0;
}