Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping9.C
blob: be991185ffdb929d69bfb82683d01cbf3356575a [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: g++ silently mangles the second 'B' to 'A::B', so the definition is
// lost.
struct
A
{
enum
B
{
};
};
struct
C
:
public
A
{
enum
B
{
};
void
foo
(
C
::
B
);
};