// { dg-do compile } // Origin: Volker Reichelt // PR c++/10793: ICE in handling base class when the current class // contains error. template struct A {}; template struct A : A { }; // { dg-error "not declared|invalid|token|extra" }