2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / scoping9.C
blobbe991185ffdb929d69bfb82683d01cbf3356575a
1 // { dg-do assemble  }
2 // Bug: g++ silently mangles the second 'B' to 'A::B', so the definition is
3 // lost.
5 struct A {
6   enum B { };
7 };
9 struct C: public A {
10   enum B { };
11   void foo (C::B);