summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/ttp47.C
blob: 268ce877be45aa6c0d2b48a595782d262c07c1dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do run  }
template <template<class,class> class TT, class T> void f(T)
{
}

template <template<class> class TT, class T> void f(T)
{
}

template <class T> class C {};
template <class T,class U> class D {};

int main()
{
	f<C>(1);
	f<D>(1);
}