[Github] Bump Windows Actions Runner to v2.321.0 (#123508)
[llvm-project.git] / libcxx / test / std / containers / sequences / vector / compare.three_way.pass.cpp
blob93b11eef52f63ba444b4daf020e32381bdcd3d64
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 // <vector>
12 // class vector
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);
18 #include <cassert>
19 #include <vector>
21 #include "test_container_comparisons.h"
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;