blob: 2ff7e5b0b51db5c5342f21e2305c03eb3579bb4e [file] [log] [blame]
// { dg-options "-std=c++0x" }
template<class U, class... T>
void f() // { dg-message "note" }
{
f<T...>(); // { dg-error "no matching" }
// { dg-message "candidate" "candidate note" { target *-*-* } 6 }
}
template<>
void f() { } // { dg-error "template-id" }
int main()
{
f<char>();
}