blob: ff1dda537d621cac9d92a3211dc3ae8d9202498e [file] [log] [blame]
// { dg-do compile { target c++11 } }
// { dg-options "-Wunused-but-set-parameter" }
template <typename... Ts> void sink(Ts...);
struct A { int i; };
template <int... I>
void f(A a)
{
return sink((a.i + I)...);
}
int main()
{
f<>(A());
}