Sign in
gnu
/
gcc
/
refs/tags/prereleases/egcs-1.1.1-pre
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
union.C
blob: b145390efcca7da06b1e57aec862d9ce085fb91a [
file
] [
log
] [
blame
]
// Bug: g++ doesn't insert anon union members into class scope.
// Breaks groff.
// Build don't link:
struct
A
{
union
{
int
i
;
};
void
foo
()
{
i
=
1
;
}
// gets bogus error -
};