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

21 lines
330 B
C

main ()
{
int i, j, k, l;
float x[8][2][8][2];
for (i = 0; i < 8; i++)
for (j = i; j < 8; j++)
for (k = 0; k < 2; k++)
for (l = 0; l < 2; l++)
{
if ((i == j) && (k == l))
x[i][k][j][l] = 0.8;
else
x[i][k][j][l] = 0.8;
if (x[i][k][j][l] < 0.0)
abort ();
}
exit (0);
}