1// PR c++/34776 2 3template<typename T> struct A 4{ 5 T::X<0> x; // { dg-error "non-template|T::template|base type" } 6}; 7 8A<int*> a; 9