☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping9.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/scoping9.C
code
plain
raw
1
// { dg-do assemble }
2
// Bug: g++ silently mangles the second 'B' to 'A::B', so the definition is
3
// lost.
4
5
struct A {
6
enum B { };
7
};
8
9
struct C: public A {
10
enum B { };
11
void foo (C::B);
12
};