summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/unify1.C
blob: 2413ab0009c3512829a8ae5787e604a0a7f10cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// Tests non-unification of parms that don't use template parms.

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, kind k);