summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr15791-2.c
blob: df68bfeba7f0de75b334f91f134a92f699f5490c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do link } */
/* { dg-options "" } */

void link_error ();
struct a {};
int main ()
{
  struct a b[2];
  if (&b[0] != &b[1])
    link_error ();
  return 0;
}