aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr19579a.c
blob: e4a6eb1ea9bed5aa090b5e9fa033c85de5b6d49d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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;
}