summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash76.C
blob: 851cdd8c436d31c6be2d18a6b03fde4ee65a03a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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;