re PR c++/31745 (ICE on invalid use of namespace)
2007-05-25 Simon Martin <simartin@users.sourceforge.net> Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c++/31745 * parser.c (cp_parser_skip_to_closing_brace): Return true if the next token is a closing brace, false if there are no tokens left. (cp_parser_namespace_alias_definition): Only consume the next token if it is a closing brace. * parser.c (cp_parser_class_specifier): Likewise. Co-Authored-By: Lee Millward <lee.millward@gmail.com> Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org> From-SVN: r125070
Showing
gcc/testsuite/g++.dg/parse/crash34.C
0 → 100644
gcc/testsuite/g++.dg/parse/crash35.C
0 → 100644
Please
register
or
sign in
to comment