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: no-threads, c++03
15 // future(future&& rhs);
20 #include "test_macros.h"
27 std::future
<T
> f0
= p
.get_future();
28 std::future
<T
> f
= std::move(f0
);
35 std::future
<T
> f
= std::move(f0
);
42 std::future
<T
> f0
= p
.get_future();
43 std::future
<T
> f
= std::move(f0
);
50 std::future
<T
> f
= std::move(f0
);
57 std::future
<T
> f0
= p
.get_future();
58 std::future
<T
> f
= std::move(f0
);
65 std::future
<T
> f
= std::move(f0
);