aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/unify1.C
blob: 283e2f50f8af8fdc98de14af43d0c322bfdc1ce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Tests non-unification of parms that don't use template parms.
// Build don't link:

enum kind {a, b};

class C { public: C () {} };

template<class P>
void f (P c, kind k) {}

template<class P>
void f (P c, P d, kind k) {}

template void f (C c, C c, kind k);