From c223a685ab5681ab2e21817cf332500a5683718c Mon Sep 17 00:00:00 2001 From: morzhovets Date: Sat, 25 Nov 2023 15:42:34 +0400 Subject: [PATCH] Update libcxx/multiset --- test/sources/libcxx/multiset/max_size.pass.cpp | 2 +- .../multiset/range_concept_conformance.compile.pass.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/test/sources/libcxx/multiset/max_size.pass.cpp b/test/sources/libcxx/multiset/max_size.pass.cpp index 8a6d1369..78bda40e 100644 --- a/test/sources/libcxx/multiset/max_size.pass.cpp +++ b/test/sources/libcxx/multiset/max_size.pass.cpp @@ -26,7 +26,7 @@ int main(int, char**) LIBCPP_ASSERT(c.max_size() == 10); } { - typedef limited_allocator A; + typedef limited_allocator(-1)> A; typedef std::multiset, A> C; const C::size_type max_dist = static_cast(std::numeric_limits::max()); diff --git a/test/sources/libcxx/multiset/range_concept_conformance.compile.pass.cpp b/test/sources/libcxx/multiset/range_concept_conformance.compile.pass.cpp index d7a4b5ea..fc064a7c 100644 --- a/test/sources/libcxx/multiset/range_concept_conformance.compile.pass.cpp +++ b/test/sources/libcxx/multiset/range_concept_conformance.compile.pass.cpp @@ -23,7 +23,9 @@ static_assert(!std::ranges::view); static_assert(!std::ranges::random_access_range); static_assert(std::ranges::sized_range); static_assert(!std::ranges::borrowed_range); +#if !defined(TEST_GCC) static_assert(std::ranges::viewable_range); +#endif static_assert(std::same_as, range::const_iterator>); static_assert(std::ranges::common_range); @@ -32,7 +34,9 @@ static_assert(!std::ranges::view); static_assert(!std::ranges::random_access_range); static_assert(std::ranges::sized_range); static_assert(!std::ranges::borrowed_range); +#if !defined(TEST_GCC) static_assert(!std::ranges::viewable_range); +#endif void main() {