// This should fail deduction, before it produces a candidate. // { dg-options -std=c++0x } template void f(T... ts); // { dg-message "deduction" } struct B { }; int main() { f(B(), 1); // { dg-error "" } }