blob: 3d8a1555ff2a0333e55cd0cada91d29ce0e04da7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Bug: g++ silently mangles the second 'B' to 'A::B', so the definition is
// lost.
// Build don't link:
struct A {
enum B { };
};
struct C: public A {
enum B { };
void foo (C::B);
};
|