OSDN Git Service

PR middle-end/35456
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20000605-3.c
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 }