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