summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/vt-37737-2.C
blob: 2ff7e5b0b51db5c5342f21e2305c03eb3579bb4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { 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>();
}