Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
union.C
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 "" }
};