xref: /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/20000605-3.c (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1 struct F { int x; int y; };
2 
3 int main()
4 {
5   int timeout = 0;
6   int x = 0;
7   while (1)
8     {
9       const struct F i = { x++, };
10       if (i.x > 0)
11 	break;
12       if (++timeout > 5)
13 	goto die;
14     }
15   return 0;
16  die:
17   abort ();
18 }
19