[llvm-branch-commits] [libcxx] 3aee9c7 - [libc++] Fix tests after #144220
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Aug 11 05:06:29 PDT 2025
Author: Corentin Jabot
Date: 2025-08-11T14:07:52+02:00
New Revision: 3aee9c73719767b0bbac1f6777e7334bd1bccd59
URL: https://github.com/llvm/llvm-project/commit/3aee9c73719767b0bbac1f6777e7334bd1bccd59
DIFF: https://github.com/llvm/llvm-project/commit/3aee9c73719767b0bbac1f6777e7334bd1bccd59.diff
LOG: [libc++] Fix tests after #144220
This is a backport of the test fixes made in #151935
Fixes #150601
Added:
Modified:
libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp
Removed:
################################################################################
diff --git a/libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp b/libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp
index 91a7db1d9a7c6..1a2d080d10c3c 100644
--- a/libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp
+++ b/libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp
@@ -124,8 +124,9 @@ void test() {
#if _LIBCPP_HAS_EXCEPTIONS
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
- // expected-error-re@*:* 1-2{{call to deleted constructor of{{.*}}}}
- // expected-error-re@*:* 0-2{{call to deleted constructor of{{.*}}}}
#endif
+// These diagnostics can also additionally be produced by static_assert (see GH150601).
+// expected-error-re@*:* 0-2{{call to deleted constructor of{{.*}}}}
+// expected-error-re@*:* 0-2{{call to deleted constructor of{{.*}}}}
}
// clang-format on
More information about the llvm-branch-commits
mailing list