1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03, c++11, c++14, c++17
11 // template<class In, class Out>
12 // concept indirectly_movable;
16 template<std::indirectly_readable I
, class O
>
17 constexpr bool indirectly_movable_subsumption() {
21 template<class I
, class O
>
22 requires
std::indirectly_movable
<I
, O
>
23 constexpr bool indirectly_movable_subsumption() {
27 static_assert(indirectly_movable_subsumption
<int*, int*>());