xref: /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/20000605-3.c (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1 struct F { int x; int y; };
2 
main()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