re PR c++/38798 ([c++0x] Trouble with struct/class/enum keyword in late return types)
PR c++/38798 * parser.c (CP_PARSER_FLAGS_NO_TYPE_DEFINITIONS): New. (cp_parser_type_specifier): Don't try to parse a class-specifier or enum-specifier in that case. (cp_parser_trailing_type_id): New. (cp_parser_late_return_type_opt): Call it. (cp_parser_type_id_1): Add is_trailing_return parm. (cp_parser_type_specifier_seq): Likewise. From-SVN: r152924
Showing
gcc/testsuite/g++.dg/cpp0x/trailing5.C
0 → 100644
Please
register
or
sign in
to comment