| 1 |
// { dg-do assemble } |
| 2 |
// Tests non-unification of parms that don't use template parms. |
| 3 |
|
| 4 |
enum kind {a, b}; |
| 5 |
|
| 6 |
class C { public: C () {} }; |
| 7 |
|
| 8 |
template<class P> |
| 9 |
void f (P c, kind k) {} |
| 10 |
|
| 11 |
template<class P> |
| 12 |
void f (P c, P d, kind k) {} |
| 13 |
|
| 14 |
template void f (C c, C, kind k); |