3 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5 // PR c++/10555: ICE for member class template when one of the
6 // template argument levels contains errors.
8 template <typename> struct A
10 template <typename> struct B;
13 template <typename T> struct C
15 typedef typename A<T>::template B<U> X; // { dg-error "declared|invalid" }