re PR c++/42137 (error: expected constructor, destructor, or type conversion before ‘{’ token)
PR c++/42137 * parser.c (cp_parser_mem_initializer_id): Pass typename_type to cp_parser_class_name. (cp_parser_unqualified_id): Same, rather than class_type. PR c++/11764 * parser.c (cp_parser_expression_statement): Give helpful error for constructor name used as type. From-SVN: r154519
Showing
Please
register
or
sign in
to comment