[Bug c++/13698] [3.4/3.5 Regression] Parsing error for new constructs
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 20 07:52:00 GMT 2004
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-01-20 07:52 -------
This is not a bug.
The grammar for a new-expression permits either a parenthesized type-id, or a
new-type-id.
These cases are not the type-id case because there is something after the
parenthesis. They are not the new-type-id case because they begin with a
parenthesis, which a new-type-id cannot.
Therefore, these cases are invalid.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13698
More information about the Gcc-bugs
mailing list