re PR c++/16002 (Strange error message with new parser)
PR c++/16002 * parser.c (cp_parser_simple_declaration): Commit to tentative parses after seeing a decl-specifier. (cp_parser_simple_declaration): Eliminate spurious message. (cp_parser_init_declarator): Adjust error message. PR c++/16029 * lex.c (unqualified_name_lookup_error): Mark the dummy declaration as used. PR c++/16002 * g++.dg/template/error18.C: New test. PR c++/16029 * g++.dg/warn/Wunused-8.C: New test. From-SVN: r87633
Showing
gcc/testsuite/g++.dg/parse/error18.C
0 → 100644
gcc/testsuite/g++.dg/warn/Wunused-8.C
0 → 100644
Please
register
or
sign in
to comment