https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113127

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Keywords|                            |rejects-valid
   Last reconfirmed|                            |2023-12-24

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed,
Just to show it is unrelated to lambdas I defined it as a constexpr function:
constexpr auto g() {return new int[2];}
constexpr bool b1 = ( delete []g(), true );

Reply via email to