[AMDGPU] Implement IR variant of isFMAFasterThanFMulAndFAdd (#121465)
[llvm-project.git] / libcxx / test / std / containers / associative / multiset / multiset.cons / alloc.pass.cpp
blob8aa09cae659d0afb9d1ebf293c1ae14412d6058d
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 allocator_type& a);
15 #include <set>
16 #include <cassert>
18 #include "test_macros.h"
19 #include "test_allocator.h"
21 int main(int, char**)
23 typedef std::less<int> C;
24 typedef test_allocator<int> A;
25 std::multiset<int, C, A> m(A(5));
26 assert(m.empty());
27 assert(m.begin() == m.end());
28 assert(m.get_allocator() == A(5));
30 return 0;