8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/961004-1.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

23 lines
176 B
C

int k = 0;
main()
{
int i;
int j;
for (i = 0; i < 2; i++)
{
if (k)
{
if (j != 2)
abort ();
}
else
{
j = 2;
k++;
}
}
exit (0);
}