Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / test / std / containers / associative / multimap / multimap.nonmember / compare.three_way.pass.cpp
blobc7febc362cd63cd3c38281b0035ebabfac1ab75b
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 // <map>
12 // class multimap
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);
19 #include <cassert>
20 #include <map>
22 #include "test_container_comparisons.h"
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;