Debian Codegraph @

gcc/testsuite/c-c++-common/torture/pr58794-2.c

raw
1 /* { dg-do compile } */
2
3 struct S
4 {
5 volatile int f;
6 } a;
7
8 unsigned int b;
9
10 static int *c[1][2] = {{0, (int *)&a.f}};
11 static unsigned int d;
12
13 int
14 main ()
15 {
16 for (; d < 1; d++)
17 for (; b < 1; b++)
18 *c[b][d + 1] = 0;
19
20 return 0;
21 }