summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20030209-1.c
blob: 5845d67b3ca1cc681c806d38093094359cdfdb64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifdef STACK_SIZE
#if STACK_SIZE < 8*100*100
#define SKIP
#endif
#endif

#ifndef SKIP
double x[100][100];
int main ()
{
  int i;

  i = 99;
  x[i][0] = 42;
  if (x[99][0] != 42)
    abort ();
  exit (0);
}
#else
int
main ()
{
  exit (0);
}
#endif