summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/anon5.C
blob: 34599c061e7cd2414975896da69231e192547ca4 (plain)
1
2
3
4
5
6
// PR c++/45651

namespace { template <int T> struct A {}; }
template <int T> struct B { void f(A<T>); };
template struct B<1>;
template<int T> void B<T>::f(A<T>) {}