From 50552c8c9ab4a8d1726a74bc5bcedded4f51651a Mon Sep 17 00:00:00 2001 From: Hui Date: Sat, 22 Jun 2024 18:13:04 +0100 Subject: [PATCH] clang17 --- .../expected/expected.expected/ctor/ctor.copy.pass.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp index 2fff97a87b0f35..ba9831750c842d 100644 --- a/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp @@ -62,7 +62,6 @@ static_assert(!std::is_trivially_copy_constructible_v>); static_assert(!std::is_trivially_copy_constructible_v>); -#if defined(TEST_CLANG_VER) && TEST_CLANG_VER >= 1700 struct Any { constexpr Any() = default; constexpr Any(const Any&) = default; @@ -72,7 +71,6 @@ struct Any { requires(!std::is_same_v> && std::is_copy_constructible_v>) constexpr Any(T&&) {} }; -#endif constexpr bool test() { // copy the value non-trivial @@ -123,7 +121,7 @@ constexpr bool test() { { // TODO(LLVM 20): Remove once we drop support for Clang 17 -#if defined(TEST_CLANG_VER) && TEST_CLANG_VER >= 1700 +#if defined(TEST_CLANG_VER) && TEST_CLANG_VER >= 1800 // https://github.com/llvm/llvm-project/issues/92676 std::expected e1; auto e2 = e1;