1 // { dg-do compile { target c++11 } } 2 3 template<class U, class... T> f()4void f() // { dg-message "note" } 5 { 6 f<T...>(); // { dg-error "no matching" } 7 // { dg-message "(candidate|deduce template parameter)" "candidate note" { target *-*-* } 6 } 8 } 9 10 template<> f()11void f() { } // { dg-error "template-id" } 12 main()13int main() 14 { 15 f<char>(); 16 } 17