dtor11.C
155 Bytes
-
re PR c++/28606 (Destructor accepted as return-type of constructor) · 04499540
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
Volker Reichelt committed