ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git] / ld / testsuite / ld-elf / pr19579a.c
blob69d0f35898d8cc398fce90dfe8c83c641c5117e6
1 #include <stdio.h>
3 int foo[1];
4 int bar[2];
6 extern int *foo_p (void);
7 extern int *bar_p (void);
9 int
10 main ()
12 if (foo[0] == 0 && foo == foo_p () && bar[0] == -1 && bar == bar_p ())
13 printf ("PASS\n");
14 return 0;