summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic31.C
blob: db8daa89858fc5f04f31e120a254573cca0be4a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options "-std=gnu++0x -g" }
template<typename... T>
void eat(T...) { }

void f()
{
  eat();
  eat(1);
  eat(1, 2);
  eat(17, 3.14159, "Hello, World!");
}