[Bug c++/14667] [3.5 Regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 23 03:26:00 GMT 2004


------- Additional Comments From bangerth at dealii dot org  2004-03-23 03:26 -------
No, don't forget that this 
--------------- 
int typedef T; 
struct X {} typedef S; 
--------------- 
is legal, so we can't report on the missing semicolon. Yes, that's 
an abomination, but it's valid code anyway... 
 
W. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14667



More information about the Gcc-bugs mailing list