Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash76.C
blob851cdd8c436d31c6be2d18a6b03fde4ee65a03a9
1 // PR c++/34486
3 template<typename> struct A
5   typedef A* X;
6 };
8 template<typename T> struct B
10   using A<T>::X::Y; // { dg-error "not a base type" }
13 B<int> b;