2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / parse / crash9.C
blob44ce57b1316c9652062c8cc1956866cc818e160f
1 // { dg-do compile }
3 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
5 // PR c++/10793: ICE in handling base class when the current class
6 // contains error.
8 template <typename> struct A {};
9 template <typename> struct A<INVALID> : A<int> { }; // { dg-error "not declared|invalid" }