Debian Codegraph @

gcc/testsuite/g++.dg/template/crash76.C

raw
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 class" }
11 };
12
13 B<int> b;