[libcxx-commits] [libcxx] bef39e6 - [libc++][C++03] Don't run cstdalign.compile.pass.cpp (#163357)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 16 00:30:41 PDT 2025


Author: Nikolas Klauser
Date: 2025-10-16T09:30:37+02:00
New Revision: bef39e6b5c3d6be221f63b5c308507b8ae9cc702

URL: https://github.com/llvm/llvm-project/commit/bef39e6b5c3d6be221f63b5c308507b8ae9cc702
DIFF: https://github.com/llvm/llvm-project/commit/bef39e6b5c3d6be221f63b5c308507b8ae9cc702.diff

LOG: [libc++][C++03] Don't run cstdalign.compile.pass.cpp (#163357)

`__alignas_is_defined` and `__alignof_is_defined` are a C++11 feature
which we only recently added. I don't think it will break anybody if we
don't provide these macros in C++03, so this simply disable the test
instead.

Added: 
    

Modified: 
    libcxx/test/std/language.support/support.runtime/cstdalign.compile.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/language.support/support.runtime/cstdalign.compile.pass.cpp b/libcxx/test/std/language.support/support.runtime/cstdalign.compile.pass.cpp
index 69296dfa50121..d289ef63dfec1 100644
--- a/libcxx/test/std/language.support/support.runtime/cstdalign.compile.pass.cpp
+++ b/libcxx/test/std/language.support/support.runtime/cstdalign.compile.pass.cpp
@@ -10,7 +10,7 @@
 
 // ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS
 
-// XFAIL: FROZEN-CXX03-HEADERS-FIXME
+// UNSUPPORTED: c++03
 
 #include <cstdalign>
 


        


More information about the libcxx-commits mailing list