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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping9.C
blob
be991185ffdb929d69bfb82683d01cbf3356575a
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
};