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

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