1 // PR c++/71451 2 // { dg-do compile { target c++11 } } 3 4 template < int > struct A; 5 6 template < typename ... T > 7 struct B 8 { 9 template < typename A < T::value >::type > void foo (); // { dg-error "parameter packs" } 10 }; 11 main()12int main () 13 { 14 B < int > t; 15 t.foo (); 16 return 0; 17 } 18