// { dg-do compile { target c++11 } } template class Comp, typename... T> void f( T... Value) { static_assert( Comp::value > 0, "" ); // { dg-error "parameter packs|T" } } template class Comp, typename... T> void g( T... Value) { static_assert( Comp::value > 0, "" ); } template struct Foo { static const int value=1; }; int main() { f( 2 ); g( 2 ); }