[libcxx-commits] [libcxx] [libc++][test] Updates sized deallocation tests. (PR #97833)

Xing Xue via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 15 06:01:17 PDT 2024


xingxue-ibm wrote:

> I guess the right thing to do here is to add `// UNSUPPORTED` for those platforms, in these tests?

Since these test the behavior of sized deallocation but incorrectly assume that `-fsized-deallocation` is the default for all platforms, another option is to explicitly specify `-fsized-deallocation` as follows.
```
// ADDITIONAL_COMPILE_FLAGS: -fsized-deallocation
```



https://github.com/llvm/llvm-project/pull/97833


More information about the libcxx-commits mailing list