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