diff --git a/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp b/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp index 143ae195e..9ffd4c159 100644 --- a/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp +++ b/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp @@ -175,14 +175,14 @@ void test_noexcept() { Tuple tup; ((void)tup); Tuple const& ctup = tup; ((void)ctup); ASSERT_NOT_NOEXCEPT(std::make_from_tuple(ctup)); - ASSERT_NOEXCEPT(std::make_from_tuple(std::move(tup))); + LIBCPP_ONLY(ASSERT_NOEXCEPT(std::make_from_tuple(std::move(tup)))); } { using Tuple = std::pair; Tuple tup; ((void)tup); Tuple const& ctup = tup; ((void)ctup); ASSERT_NOT_NOEXCEPT(std::make_from_tuple(ctup)); - ASSERT_NOEXCEPT(std::make_from_tuple(std::move(tup))); + LIBCPP_ONLY(ASSERT_NOEXCEPT(std::make_from_tuple(std::move(tup)))); } { using Tuple = std::tuple; @@ -192,7 +192,7 @@ void test_noexcept() { { using Tuple = std::tuple; Tuple tup; ((void)tup); - ASSERT_NOEXCEPT(std::make_from_tuple(tup)); + LIBCPP_ONLY(ASSERT_NOEXCEPT(std::make_from_tuple(tup))); } { using Tuple = std::array; @@ -202,7 +202,7 @@ void test_noexcept() { { using Tuple = std::array; Tuple tup; ((void)tup); - ASSERT_NOEXCEPT(std::make_from_tuple(tup)); + LIBCPP_ONLY(ASSERT_NOEXCEPT(std::make_from_tuple(tup))); } }