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