aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic32.C
blob: 0c5f6ee9841f653aff4139bdd951d140ebe24823 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile { target c++11 } }
template<typename... T>
void eat(const T&...) { }

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