diff --git a/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap.pass.cpp --- a/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap.pass.cpp @@ -22,8 +22,6 @@ using IterSwapT = decltype(std::ranges::iter_swap); -static_assert(std::semiregular>); - struct HasIterSwap { int &value_; explicit HasIterSwap(int &value) : value_(value) { assert(value == 0); } diff --git a/libcxx/test/std/ranges/range.access/size.pass.cpp b/libcxx/test/std/ranges/range.access/size.pass.cpp --- a/libcxx/test/std/ranges/range.access/size.pass.cpp +++ b/libcxx/test/std/ranges/range.access/size.pass.cpp @@ -36,8 +36,6 @@ static_assert(std::ranges::size(std::as_const(array_of_incomplete)) == 42); static_assert(std::ranges::size(static_cast(array_of_incomplete)) == 42); -static_assert(std::semiregular>); - struct SizeMember { constexpr size_t size() { return 42; } }; diff --git a/libcxx/test/std/ranges/range.access/ssize.pass.cpp b/libcxx/test/std/ranges/range.access/ssize.pass.cpp --- a/libcxx/test/std/ranges/range.access/ssize.pass.cpp +++ b/libcxx/test/std/ranges/range.access/ssize.pass.cpp @@ -25,8 +25,6 @@ static_assert( std::is_invocable_v); static_assert( std::is_invocable_v); -static_assert(std::semiregular>); - struct SizeMember { constexpr size_t size() { return 42; } }; diff --git a/libcxx/test/std/ranges/range.adaptors/range.counted/counted.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.counted/counted.pass.cpp --- a/libcxx/test/std/ranges/range.adaptors/range.counted/counted.pass.cpp +++ b/libcxx/test/std/ranges/range.adaptors/range.counted/counted.pass.cpp @@ -48,9 +48,6 @@ { static_assert(std::addressof(std::views::counted) == std::addressof(std::ranges::views::counted)); - auto copy = std::views::counted; - static_assert(std::semiregular); - static_assert( CountedInvocable); static_assert(!CountedInvocable); static_assert( CountedInvocable); diff --git a/libcxx/test/std/ranges/range.factories/range.iota.view/views_iota.pass.cpp b/libcxx/test/std/ranges/range.factories/range.iota.view/views_iota.pass.cpp --- a/libcxx/test/std/ranges/range.factories/range.iota.view/views_iota.pass.cpp +++ b/libcxx/test/std/ranges/range.factories/range.iota.view/views_iota.pass.cpp @@ -43,11 +43,6 @@ ASSERT_SAME_TYPE(decltype(std::views::iota(T(10))), std::ranges::iota_view); ASSERT_SAME_TYPE(decltype(std::views::iota(T(10), u)), std::ranges::iota_view); } - // Test that this is semiregular. - // Note: we cannot test perfect forwarding because both T and U must be copyable. - { - static_assert(std::semiregular>); - } } struct X {};