blob: c20501f923c4067aa458093c386ddb57f1ea7a7f [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename... T> int foo()
{
typename T::X x; // { dg-error "parameter packs|T" }
return x;
}
void bar()
{
foo<int>();
}