// PR c++/34060 // { dg-do compile { target c++11 } } template struct A { template struct B {}; template struct B {}; // { dg-error "not expanded|T" } }; A<0>::Bb;