blob: f4e3f11b6789c01192e3020b5360bcf7547e35e5 [file] [log] [blame]
// { dg-options "" }
struct A { };
struct B {
struct: A { int i; }; // { dg-error "anonymous struct with base" }
};
union U {
struct: A { int i; }; // { dg-error "anonymous struct with base" }
};