[libcxx-commits] [libcxx] [libc++][string] Add regression test for sized new/delete bug (PR #110210)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 30 10:31:14 PDT 2024
================
@@ -0,0 +1,64 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// <string>
+
+// allocate/deallocate must match.
----------------
ldionne wrote:
```suggestion
// Make sure the size we allocate and deallocate match. See https://github.com/llvm/llvm-project/pull/90292.
```
https://github.com/llvm/llvm-project/pull/110210
More information about the libcxx-commits
mailing list