Retro68/binutils/ld/testsuite/ld-elf/pr19579a.c
2017-04-10 13:32:00 +02:00

16 lines
221 B
C

#include <stdio.h>
int foo[1];
int bar[2];
extern int *foo_p (void);
extern int *bar_p (void);
int
main ()
{
if (foo[0] == 0 && foo == foo_p () && bar[0] == 0 && bar == bar_p ())
printf ("PASS\n");
return 0;
}