blob: be991185ffdb929d69bfb82683d01cbf3356575a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { 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);
};
|