re PR c++/29234 (Call to operator() of temporary object wrongly parsed)
/cp 2013-11-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/29234 PR c++/56037 * parser.c (cp_parser_cast_expression): If we aren't looking at a cast-expression don't call cp_parser_type_id. (cp_parser_postfix_expression): Likewise for compound-literal. (cp_parser_tokens_start_cast_expression): Adjust. /testsuite 2013-11-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/29234 PR c++/56037 * g++.dg/parse/pr29234.C: New. * g++.dg/parse/pr56037.C: Likewise. From-SVN: r204312
Showing
gcc/testsuite/g++.dg/parse/pr29234.C
0 → 100644
gcc/testsuite/g++.dg/parse/pr56037.C
0 → 100644
Please
register
or
sign in
to comment