(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
crash76.C
// 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;