[AMDGPU] Implement IR variant of isFMAFasterThanFMulAndFAdd (#121465)
[llvm-project.git] / libcxx / test / std / containers / associative / multiset / multiset.cons / compare_alloc.pass.cpp
blob61458e71d90b45924e21a372b6e090c5264dd752
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 // <set>
11 // class multiset
13 // multiset(const value_compare& comp, const allocator_type& a);
15 #include <set>
16 #include <cassert>
18 #include "test_macros.h"
19 #include "../../../test_compare.h"
20 #include "test_allocator.h"
22 int main(int, char**)
24 typedef test_less<int> C;
25 typedef test_allocator<int> A;
26 std::multiset<int, C, A> m(C(4), A(5));
27 assert(m.empty());
28 assert(m.begin() == m.end());
29 assert(m.key_comp() == C(4));
30 assert(m.get_allocator() == A(5));
32 return 0;