// { dg-do compile { target c++11 } } template struct pair {}; template struct tuple { static const int value = 0; }; template<> struct tuple > { }; template struct X { template struct Y { typedef tuple...> type; // { dg-error "mismatched argument pack lengths" } }; }; X::Y::type honk;