1 // PR c++/45651 2 3 namespace { template <int T> struct A {}; } 4 template <int T> struct B { void f(A<T>); }; 5 template struct B<1>; 6 template<int T> void B<T>::f(A<T>) {} 7