* elf.c (bfd_section_from_shdr): Remove extraneous breaks.
[binutils.git] / ld / testsuite / ld-elf / dl4main.c
blob173450da1a89bb88e1fc938d08bfd21b7ccb353d
1 #include <stdio.h>
3 extern int foo1;
4 extern int foo2;
5 extern void bar (void);
7 void
8 xxx1 (void)
10 printf ("MAIN1\n");
13 void
14 xxx2 (void)
16 printf ("MAIN2\n");
19 int
20 main (void)
22 foo1 = 1;
23 foo2 = 1;
24 bar ();
25 if (foo1 == -1)
26 printf ("OK1\n");
27 else if (foo1 == 1)
28 printf ("OK2\n");
29 if (foo2 == -1)
30 printf ("OK3\n");
31 else if (foo2 == 1)
32 printf ("OK4\n");
33 return 0;