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

18 lines
237 B
C

int array[10] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
main ()
{
int i, j;
int *p;
for (i = 0; i < 10; i++)
for (p = &array[0]; p != &array[9]; p++)
if (*p == i)
goto label;
label:
if (i != 1)
abort ();
exit (0);
}