//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14, c++17 // template // concept mergeable = see below; // since C++20 #include #include "test_macros.h" template void test_subsumption() requires std::input_iterator && std::input_iterator; template void test_subsumption() requires std::weakly_incrementable; template void test_subsumption() requires std::indirectly_copyable && std::indirectly_copyable; template void test_subsumption() requires std::indirect_strict_weak_order; template constexpr bool test_subsumption() requires std::mergeable { return true; } static_assert(test_subsumption());