| 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 |
| 9 | |
| 10 | // <vector> |
| 11 | |
| 12 | // class vector |
| 13 | |
| 14 | // template<class T, class Allocator> |
| 15 | // constexpr synth-three-way-result<T> operator<=>(const vector<T, Allocator>& x, |
| 16 | // const vector<T, Allocator>& y); |
| 17 | |
| 18 | #include <cassert> |
| 19 | #include <vector> |
| 20 | |
| 21 | #include "test_container_comparisons.h" |
| 22 | |
| 23 | int main(int, char**) { |
| 24 | assert(test_sequence_container_spaceship<std::vector>()); |
| 25 | static_assert(test_sequence_container_spaceship<std::vector>()); |
| 26 | return 0; |
| 27 | } |
| 28 | |