summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/consec.c
blob: fd76cd2eec43124f778a5508caaf061e0b0e6a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
int glob;

conseq (a, b, c, d)
     int *a, *b;
{
  a[2] = d;
  a[1] = c;
  sequence (a, b, c, d);
  sequence (d, c, b, a);
  b[0] = 0;
  b[1] = 123;
  a[0] = 321;
  a[1] = 0;
  sequence (111, 0, 0, 222, 0, 333);
  ((int *)glob)[2] = c;
  ((int *)glob)[3] = d;
}