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

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

template <class T> class C {};
template <int> class D {};

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