1 /* { dg-do compile } */
2 /* { dg-options "-std=c99 -pedantic-errors" } */
4 We should get one error messag, one about union cast. */
7 union vx
{short f
[8]; int v
;};
13 ((union vx
) vec
).f
[5] = 1; /* { dg-error "forbids casts to union type" } */