Update ChangeLogs and version numbers for 2.95.3 release
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 931004-9.c
blob07247f7adfac1d4d943ac64eeaaf635e30a45f84
1 struct tiny
3 char c;
4 char d;
5 };
7 f (int n, struct tiny x, struct tiny y, struct tiny z, long l)
9 if (x.c != 10)
10 abort();
11 if (x.d != 20)
12 abort();
14 if (y.c != 11)
15 abort();
16 if (y.d != 21)
17 abort();
19 if (z.c != 12)
20 abort();
21 if (z.d != 22)
22 abort();
24 if (l != 123)
25 abort ();
28 main ()
30 struct tiny x[3];
31 x[0].c = 10;
32 x[1].c = 11;
33 x[2].c = 12;
34 x[0].d = 20;
35 x[1].d = 21;
36 x[2].d = 22;
37 f (3, x[0], x[1], x[2], (long) 123);
38 exit(0);