ld: Add tests for -z separate-code and -z noseparate-code
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / pr19579a.c
1 #include <stdio.h>
2
3 int foo[1];
4 int bar[2];
5
6 extern int *foo_p (void);
7 extern int *bar_p (void);
8
9 int
10 main ()
11 {
12 if (foo[0] == 0 && foo == foo_p () && bar[0] == -1 && bar == bar_p ())
13 printf ("PASS\n");
14 return 0;
15 }
This page took 0.028834 seconds and 4 git commands to generate.