[libcxx-commits] [libcxx] [SystemZ][z/OS] fix libcxx lit when aligned allocation/de. functions are not available (PR #109693)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 23 16:32:38 PDT 2024
================
@@ -195,10 +195,12 @@ int main(int, char**) {
test<TrivialEmptyType, FinalEmptyAlloc>();
test<TrivialEmptyType, NonTrivialAlloc>();
+#if !defined(_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION)
----------------
Zingam wrote:
AFAIK In tests we shouldn't use the `_LIBCPP` prefixed macros. There should be another test specific macro, defined in: https://github.com/llvm/llvm-project/blob/main/libcxx/test/support/test_macros.h
https://github.com/llvm/llvm-project/pull/109693
More information about the libcxx-commits
mailing list