[Bug c++/18901] Type of 'new (T*) [n]'

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 17 03:22:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-17 03:20 -------
GCC is correct to reject new (T*)[n].  GCC is also correct to say the type of new T*[n] is T**.

Though ICC accepts both of them.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18901



More information about the Gcc-bugs mailing list