diff options
author | Jason Merrill <jason@redhat.com> | 2009-11-24 15:55:24 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-11-24 15:55:24 -0500 |
commit | 108e24453b3463097c8f0a25dd2d21219944b0fe (patch) | |
tree | c0ee5b73c59f1d6bab85c25d33794a7d87248d78 /gcc/ira-costs.c | |
parent | 3474a3b72bf01781f123dc2423bff037ae398fcd (diff) | |
download | gcc-108e24453b3463097c8f0a25dd2d21219944b0fe.zip gcc-108e24453b3463097c8f0a25dd2d21219944b0fe.tar.gz gcc-108e24453b3463097c8f0a25dd2d21219944b0fe.tar.bz2 |
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
Diffstat (limited to 'gcc/ira-costs.c')
0 files changed, 0 insertions, 0 deletions