Debian Codegraph @

gcc/testsuite/g++.dg/parse/crash9.C

raw
1 // { dg-do compile }
2
3 // Origin: Volker Reichelt <[email protected]>
4
5 // PR c++/10793: ICE in handling base class when the current class
6 // contains error.
7
8 template <typename> struct A {};
9 template <typename> struct A<INVALID> : A<int> { }; // { dg-error "not declared|invalid|token|extra" }