blob: 2711749eca97b97898ddb5e15504b01477ee1eeb [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 class" }
};
B<int> b;