// PR c++/30301 template struct A { union { static int i; }; // { dg-error "static data.*unnamed" } };