https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117246
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The 'delete test' is undefined behaviour as well. You should enable warnings when compiling: -Wall
redi at gcc dot gnu.org via Gcc-bugs Mon, 21 Oct 2024 04:02:01 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117246
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The 'delete test' is undefined behaviour as well. You should enable warnings when compiling: -Wall