1 //===----------------------------------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03, c++11, c++14
10 // TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
11 // UNSUPPORTED: availability-pmr-missing
15 // namespace std::pmr {
19 // } // namespace std::pmr
23 int main(int, char**) {
25 // Check that std::pmr::map is usable without <memory_resource>.
26 std::pmr::map
<int, int> m
;
27 std::pmr::multimap
<int, int> mm
;