8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/990604-1.c
1999-06-03 19:30:42 -06:00

20 lines
169 B
C

int b;
void f ()
{
int i = 0;
if (b == 0)
do {
b = i;
i++;
} while (i < 10);
}
int main ()
{
f ();
if (b != 9)
abort ();
return 0;
}