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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1) 
> clang complains:
> 
> t.ii:3:7: error: cannot delete expression of type 'T' (aka 'int[2]')
>     3 |       delete T{};
>       |       ^      ~~~

But that might be due to not doing `prvalue array decay`. See PR        
94264  which I think introduced the ICE here.

Reply via email to