/* { dg-do compile } *//* { dg-options "-std=c99 -pedantic-errors" } *//* PR 23155 We should get one error messag, one about union cast. */unionvx{shortf[8];intv;};intvec;voidfoo5(intvec){((unionvx)vec).f[5]=1;/* { dg-error "forbids casts to union type" } */}