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 | // <set> |
11 | |
12 | // class multiset |
13 | |
14 | // template<class Key, class Compare, class Allocator> |
15 | // synth-three-way-result<Key> operator<=>(const multiset<Key, Compare, Allocator>& x, |
16 | // const multiset<Key, Compare, Allocator>& y); |
17 | |
18 | #include <cassert> |
19 | #include <set> |
20 | |
21 | #include "test_container_comparisons.h" |
22 | |
23 | int main(int, char**) { |
24 | assert(test_ordered_set_container_spaceship<std::multiset>()); |
25 | // `std::multiset` is not constexpr, so no `static_assert` test here. |
26 | return 0; |
27 | } |
28 | |