1 2 3 4 5 6 7
// { dg-do compile { target c++11 } } template<typename ...T> struct A { typedef typename T::X Y; // { dg-error "not expanded|T" } }; A<int> a;