blob: 851cdd8c436d31c6be2d18a6b03fde4ee65a03a9 [file] [log] [blame]
// PR c++/34486
template<typename> struct A
{
typedef A* X;
};
template<typename T> struct B
{
using A<T>::X::Y; // { dg-error "not a base type" }
};
B<int> b;