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

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