* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic113.C
blob8f02fed04e07d4f4e7e71147cdaac7f549096eee
1 // PR c++/49251
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wunused-parameter" }
5 struct A {};
6 template <int> int f(A);
8 template< int... Indices >
9 struct indices {};
11 template< class... Args >
12 void sink( Args&&... ) {}
14 template< class T, int... Indices >
15 void unpack_test( T && t, indices<Indices...> ) {
16   sink( f<Indices>(t)... );
19 int main() {
20   unpack_test( A(), indices<>() );