OSDN Git Service

PR c++/36628
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / variadic32.C
1 // { dg-options "-std=gnu++0x" }
2 template<typename... T>
3 void eat(const T&...) { }
4
5 void f()
6 {
7   eat();
8   eat(1);
9   eat(1, 2);
10   eat(17, 3.14159, "Hello, World!");
11 }