Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/lookup20.C

raw
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 { };