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);