// This should fail deduction, before it produces a candidate. // { dg-do compile { target c++11 } } template void f(T... ts); // { dg-message "deduction" } struct B { }; int main() { f(B(), 1); // { dg-error "" } }