PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 921112-1.c
blob5946398e3c0ddc1c0cbe06b60877dae6afab7818
1 union u {
2 struct { int i1, i2; } t;
3 double d;
4 } x[2], v;
6 f (x, v)
7 union u *x, v;
9 *++x = v;
12 main()
14 x[1].t.i1 = x[1].t.i2 = 0;
15 v.t.i1 = 1;
16 v.t.i2 = 2;
17 f (x, v);
18 if (x[1].t.i1 != 1 || x[1].t.i2 != 2)
19 abort ();
20 exit (0);