[libcxx-commits] [libcxx] fd2eb9f - [libc++][test] Mark `UNSUPPORTED` for a test relying on `[[clang::trivial_abi]]` for compilers not supporting it (#211736)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Aug 16 16:08:43 PDT 2026
Author: A. Jiang
Date: 2026-08-17T07:08:38+08:00
New Revision: fd2eb9f5ef4950f8585455783bfcffb619d14447
URL: https://github.com/llvm/llvm-project/commit/fd2eb9f5ef4950f8585455783bfcffb619d14447
DIFF: https://github.com/llvm/llvm-project/commit/fd2eb9f5ef4950f8585455783bfcffb619d14447.diff
LOG: [libc++][test] Mark `UNSUPPORTED` for a test relying on `[[clang::trivial_abi]]` for compilers not supporting it (#211736)
This patch marks `UNSUPPORTED` for compilers not supporting
`[[clang::trivial_abi]]` (MSVC and GCC earlier than GCC 17) for a test
relying on this attribute.
Added:
Modified:
libcxx/test/std/containers/sequences/vector/trivial_relocation.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/containers/sequences/vector/trivial_relocation.pass.cpp b/libcxx/test/std/containers/sequences/vector/trivial_relocation.pass.cpp
index 4ada7cd806b67..a3c3bc79f94d0 100644
--- a/libcxx/test/std/containers/sequences/vector/trivial_relocation.pass.cpp
+++ b/libcxx/test/std/containers/sequences/vector/trivial_relocation.pass.cpp
@@ -6,6 +6,10 @@
//
//===----------------------------------------------------------------------===//
+// MSVC does not support [[clang::trivial_abi]], while GCC supports it only since GCC 17.
+// UNSUPPORTED: msvc
+// UNSUPPORTED: gcc-16
+
// <vector>
// Make sure we don't miscompile vector operations for types that shouldn't be considered
More information about the libcxx-commits
mailing list