blob: 88009b765c21b4e5868c73035c5f22963cb2baf7 [file] [log] [blame]
// PR c++/99063
// { dg-do compile { target c++11 } }
template <typename... T>
void f (T... n)
{
do
{
}
while (--n); // { dg-error "parameter packs not expanded with '...'" }
}
void g ()
{
f(3);
}