[Clang] Deprecate __is_referenceable (#123185)
[llvm-project.git] / libcxx / test / std / containers / sequences / deque / compare.three_way.pass.cpp
blob3d5646a844951be36737f14fe9b8778a2d9ead93
1 //===----------------------------------------------------------------------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 // UNSUPPORTED: c++03, c++11, c++14, c++17
10 // <deque>
12 // template<class T, class Allocator>
13 // synth-three-way-result<T> operator<=>(const deque<T, Allocator>& x,
14 // const deque<T, Allocator>& y);
16 #include <cassert>
17 #include <deque>
19 #include "test_container_comparisons.h"
21 int main(int, char**) {
22 assert(test_sequence_container_spaceship<std::deque>());
23 // `std::deque` is not constexpr, so no `static_assert` test here.
24 return 0;