pr79732.c: Require alias support.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr57569.c
blobf036d559d6c7b1c6af0f0e78960d6577fc67f7a7
1 /* { dg-do run } */
3 extern void abort (void) __attribute__((noreturn));
5 struct S { int f0; } a;
7 int b, e, *d = &b, f;
9 void
10 fn1 ()
12 int **g[9][6];
13 int ***h = &g[6][3];
14 for (; e < 9; e++) {
15 f = 0;
16 for (; f < 6; f++)
17 g[e][f] = &d;
19 ***h = 0;
22 void
23 fn2 ()
25 fn1 ();
26 struct S c[4][10] = {};
27 a = c[3][9];
30 int
31 main ()
33 fn2 ();
34 if (a.f0 != 0)
35 abort ();
36 return 0;