OSDN Git Service

PR c++/37256
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / variadic-ex12.C
1 // { dg-options "-std=gnu++0x" }
2 template<typename... Types> 
3   void f(Types... rest);
4
5 template<typename... Types> 
6   void g(Types... rest) {
7     f(&rest...); // ``&rest...'' is a pack expansion, ``&rest'' is its pattern
8   }