PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 931004-3.c
blob1e7a0fdcd536fbf60cd1eef3e9ff0951537664c6
1 struct tiny
3 short c;
4 };
6 f (int n, struct tiny x, struct tiny y, struct tiny z, long l)
8 if (x.c != 10)
9 abort();
11 if (y.c != 11)
12 abort();
14 if (z.c != 12)
15 abort();
17 if (l != 123)
18 abort ();
21 main ()
23 struct tiny x[3];
24 x[0].c = 10;
25 x[1].c = 11;
26 x[2].c = 12;
27 f (3, x[0], x[1], x[2], (long) 123);
28 exit(0);