Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / test / std / containers / associative / multimap / multimap.cons / default_recursive.pass.cpp
blob94003f350eba60284a14c07bfa8f9035547768e8
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 //===----------------------------------------------------------------------===//
9 // <map>
11 // class multimap
13 // multimap();
15 #include <map>
17 #include "test_macros.h"
19 struct X
21 std::multimap<int, X> m;
22 std::multimap<int, X>::iterator i;
23 std::multimap<int, X>::const_iterator ci;
24 #if TEST_STD_VER <= 17
25 // These reverse_iterator specializations require X to be complete in C++20.
26 std::multimap<int, X>::reverse_iterator ri;
27 std::multimap<int, X>::const_reverse_iterator cri;
28 #endif // TEST_STD_VER <= 17
31 int main(int, char**) { return 0; }