1 /* { dg-do compile } */
2 /* { dg-options "-Wunused -W" } */
7 int c = ({ union { unsigned int a; int b; } u; u.a = x; u.b; });
14 struct S { int i; } a;
17 a.i; /* { dg-warning "no effect" } */
19 b[0]; /* { dg-warning "no effect" } */
25 struct S { int i; } a; /* { dg-warning "set but not used" } */
26 int b[1]; /* { dg-warning "set but not used" } */