// PR c++/65061 struct B { template struct S {}; }; struct D : B { using B::S; template void doIt(/*struct*/ S&); };