diff options
author | Volker Reichelt <reichelt@igpm.rwth-aachen.de> | 2006-08-17 09:07:39 +0000 |
---|---|---|
committer | Volker Reichelt <reichelt@gcc.gnu.org> | 2006-08-17 09:07:39 +0000 |
commit | 04499540e222f831f1ebc76c726701779001b8ee (patch) | |
tree | 0c190760dbae3e7281868aa5ab64276418b10d53 /gcc/c-common.c | |
parent | 3f1e3e7010cf18ef218f107015b8f66fc75ed4d9 (diff) | |
download | gcc-04499540e222f831f1ebc76c726701779001b8ee.zip gcc-04499540e222f831f1ebc76c726701779001b8ee.tar.gz gcc-04499540e222f831f1ebc76c726701779001b8ee.tar.bz2 |
re PR c++/28606 (Destructor accepted as return-type of constructor)
PR c++/28606
* parser.c (cp_parser_diagnose_invalid_type_name): Handle BIT_NOT_EXPR.
Fix formatting.
(cp_parser_parse_and_diagnose_invalid_type_name): Tighten condition
for valid type-names.
(cp_parser_unqualified_id): Fix error handling for destructors.
* g++.dg/parse/dtor11.C: New test.
From-SVN: r116217
Diffstat (limited to 'gcc/c-common.c')
0 files changed, 0 insertions, 0 deletions