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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #1)
> Confirmed.  Started with r10-2475-g777e426772f80c.  It would be trivial to
> bring back the grokmethod hunk to fix this ICE, but we should be more
> helpful and say that operator delete[] must return type void, which I think
> [basic.stc.dynamic.deallocation]#3 says.

The return type is checked in coerce_delete_type but we never got there in this
test.

Reply via email to