Home | History | Annotate | Download | only in ld-elf
      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 }
     16