Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/20000605-3.c

raw
1 void abort (void);
2
3 struct F { int x; int y; };
4
5 int main()
6 {
7 int timeout = 0;
8 int x = 0;
9 while (1)
10 {
11 const struct F i = { x++, };
12 if (i.x > 0)
13 break;
14 if (++timeout > 5)
15 goto die;
16 }
17 return 0;
18 die:
19 abort ();
20 }