]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Wmismatched-new-delete-5.C tweak
authorJason Merrill <jason@redhat.com>
Tue, 22 Jul 2025 20:27:28 +0000 (16:27 -0400)
committerJason Merrill <jason@redhat.com>
Tue, 22 Jul 2025 21:32:54 +0000 (17:32 -0400)
commit9feecd152fd14a7ba1f4d60fbb988864f07f967e
treedbc670634cebb1236eaeb43881330077a8af0796
parentc720869f0eed38b56d6fd4c6a7f7941e64be096c
c++: Wmismatched-new-delete-5.C tweak

A patch I was testing noticed that the allocation is too small for the
placement new here, but that isn't the point of the testcase.

gcc/testsuite/ChangeLog:

* g++.dg/warn/Wmismatched-new-delete-5.C: Fix allocation.
gcc/testsuite/g++.dg/warn/Wmismatched-new-delete-5.C