// PR c++/45651 namespace { template struct A {}; } template struct B { void f(A); }; template struct B<1>; template void B::f(A) {}