[Bug c++/18901] Type of 'new (T*) [n]'
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Thu Dec 9 12:59:00 GMT 2004
------- Additional Comments From giovannibajo at libero dot it 2004-12-09 12:59 -------
My understanding is that both the expressions are ill-formed, because you
cannot use the parentesis around the type-id in a new-array expression.
GCC 3.4 and above correctly rejects both lines. There is an entry about this in
http://gcc.gnu.org/gcc-3.4/changes.html.
Do you agree with this or am I missing something?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18901
More information about the Gcc-bugs
mailing list