3 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
5 // PR c++/10793: ICE in handling base class when the current class
8 template <typename> struct A {};
9 template <typename> struct A<INVALID> : A<int> { }; // { dg-error "not declared|invalid|token|extra" }