re PR c++/26997 (g++ reports misleading error message when the identifier with…
re PR c++/26997 (g++ reports misleading error message when the identifier with error occurs earlier on the same line) 2008-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c++/26997 cp/ * parser.c (cp_parser_token_starts_cast_expression): New. (cp_parser_cast_expression): Peek the next token to decide whether this could be a parenthesized constructor or is definitely an actual cast. testsuite/ * g++.dg/parse/pr26997.C: New. From-SVN: r141429
Showing
gcc/testsuite/g++.dg/parse/pr26997.C
0 → 100644
Please
register
or
sign in
to comment