1 2 3 4 5 6 7
// { dg-options "-std=c++0x" } template<typename ...T> struct A { typedef typename T::X Y; // { dg-error "not expanded|T" } }; A<int> a;