// PR c++/94057 - template keyword in a typename-specifier. // { dg-do compile } template struct A { template struct B { B(A::B&); void fn(A::B); }; };