repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping9.C
blob
3d8a1555ff2a0333e55cd0cada91d29ce0e04da7
1
// Bug: g++ silently mangles the second 'B' to 'A::B', so the definition is
2
// lost.
3
// Build don't link:
4
5
struct A {
6
enum B { };
7
};
8
9
struct C: public A {
10
enum B { };
11
void foo (C::B);
12
};