2 // { dg-do compile { target c++11 } }
3 // A version of variadic-partial2.C where partial ordering is performed
4 // on function templates instead of class templates.
9 template<class V, class T>
12 template<int V0, int V1, class T>
13 void f(vals<V0, V1>, T) { };
15 template<int V0, int V1>
16 void f(vals<V0, V1>, char) { };
18 template void f(vals<1, 2>, char); //- "sorry, unimplemented..., ICE"
21 f(vals<1, 3>{}, 'a'); //- "sorry, unimplemented..., ICE"