[Bug c++/14283] [3.5 regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 19 15:52:00 GMT 2004
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-03-19 15:52 -------
In 3.4.0 and mainline we get the message
x.cc:5: error: type `A' is not derived from type `C< <template-parameter-1-1> >'
x.cc:5: error: ISO C++ forbids declaration of `INVALID' with no type
x.cc:5: error: expected `;' before '<' token
for the testcase in comment #2.
So your patch should be an improvement, Giovanni.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14283
More information about the Gcc-bugs
mailing list