Treat common symbol in executable as definition
[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] == 0 && bar == bar_p ())
13 printf ("PASS\n");
14 return 0;
15 }
This page took 0.030217 seconds and 5 git commands to generate.