blob: 21a0b6f7a88c373b59f9d61871eadf70a9fdd93d [file] [log] [blame]
// { dg-do assemble }
// Bug: g++ doesn't insert anon union members into class scope.
// Breaks groff.
struct A {
union {
int i;
};
void foo () { i = 1; } // { dg-bogus "" }
};