Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / test / std / containers / associative / map / map.nonmember / compare.three_way.pass.cpp
blob0e1c57f123e5812fc88b1f507fdc7498ba8fb449
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 map
14 // template<class Key, class T, class Compare, class Allocator>
15 // synth-three-way-result<pair<const Key, T>>
16 // operator<=>(const map<Key, T, Compare, Allocator>& x,
17 // const map<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::map>());
26 // `std::map` is not constexpr, so no `static_assert` test here.
27 return 0;