OSDN Git Service

PR c++/54858
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / crash76.C
1 // PR c++/34486
2
3 template<typename> struct A
4 {
5   typedef A* X;
6 };
7
8 template<typename T> struct B
9 {
10   using A<T>::X::Y; // { dg-error "not a base type" }
11 };
12
13 B<int> b;