blob: 16df69bd89285d9e812a3ef6f03f092323eb842a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// { dg-options "-std=c++0x" }
template<class U, class... T>
void f() // { dg-message "candidate" }
{
f<T...>(); // { dg-error "no matching" }
}
template<>
void f() { } // { dg-error "template-id" }
int main()
{
f<char>();
}
|