* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-elf / comm1.c
blobc553d86f4afdfb4652d37675555307abfa05e33f
1 #include <stdio.h>
2 #include <stdlib.h>
4 int foo;
5 void bar (void);
7 int
8 main ()
10 if (foo != 0)
11 abort ();
12 foo = 200;
13 bar ();
14 if (foo == 200)
15 printf ("PASS\n");
16 return 0;