aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/vt-37737-2.C
blob: 11547e5e24954b036f56a0eb7f4939793dff5d6e (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()
{
  f<T...>(); // { dg-error "no matching" }
}

template<>
void f() { } // { dg-error "template-id" }

int main()
{
  f<char>();
}