2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wunused-parameter" }
6 template <int> int f(A);
8 template< int... 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)... );
20 unpack_test( A(), indices<>() );