OSDN Git Service

* typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / lookup20.C
1 // { dg-do assemble  }
2 // Bug: typename_sub2 returned the type, so we tried to look up "A" in B.
3
4 struct A { struct A1 { }; };
5
6 struct B {
7   typedef A Q;
8 };
9
10 struct C: public B::Q::A1 { };