80e08b3052
* gcc.c-torture/execute/20000605-2.c: New test. * gcc.c-torture/execute/20000605-3.c: New test. From-SVN: r34437
19 lines
228 B
C
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 ();
|
|
}
|