8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/20000605-3.c
Richard Henderson 80e08b3052 20000605-2.c: New test.
* gcc.c-torture/execute/20000605-2.c: New test.
        * gcc.c-torture/execute/20000605-3.c: New test.

From-SVN: r34437
2000-06-06 13:54:30 -07:00

19 lines
228 B
C

struct F { int x; int y; };
int main()
{
int timeout = 0;
int x = 0;
while (1)
{
const struct F i = { x++, };
if (i.x > 0)
break;
if (++timeout > 5)
goto die;
}
return 0;
die:
abort ();
}