OSDN Git Service

PR middle-end/40692
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 931009-1.c
1 main ()
2 {
3   f ();
4   exit (0);
5 }
6
7 static
8 g (out, size, lo, hi)
9      int *out, size, lo, hi;
10 {
11   int j;
12
13   for (j = 0; j < size; j++)
14     out[j] = j * (hi - lo);
15 }
16
17
18 f ()
19 {
20   int a[2];
21
22   g (a, 2, 0, 1);
23
24   if (a[0] != 0 || a[1] != 1)
25     abort ();
26 }