blob: 98d29ece51b9a2fed7bd0c3edc8458f4c5e45e5d [file] [log] [blame]
// PR c++/71451
// { dg-do compile { target c++11 } }
template < int > struct A;
template < typename ... T >
struct B
{
template < typename A < T::value >::type > void foo (); // { dg-error "parameter packs" }
};
int main ()
{
B < int > t;
t.foo ();
return 0;
}