summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic118.C
blob: 705e4e602dd4caeb15cbb2437298ba8bb40de77c (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do compile { target c++11 } }

template <class... T>
void f(T... ts);

struct B { };
int main()
{
  f<int>(B(), 1);		// { dg-error "" }
}