summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/930608-1.c
blob: 004a440070959239c02814b9e3ad917899cdd9ca (plain)
1
2
3
4
5
6
7
8
9
10
11
double f (double a) {}
double (* const a[]) (double) = {&f};

main ()
{
  double (*p) ();
  p = &f;
  if (p != a[0])
    abort ();
  exit (0);
}