brintos

brintos / llvm-project-archived public Read only

0
0
Text · 799 B · d127f0f Raw
32 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9// UNSUPPORTED: c++03, c++11, c++1410// TODO: Change to XFAIL once https://llvm.org/PR40995 is fixed11// UNSUPPORTED: availability-pmr-missing12 13// <map>14 15// namespace std::pmr {16//17// typedef ... map18//19// } // namespace std::pmr20 21#include <map>22 23int main(int, char**) {24  {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;28  }29 30  return 0;31}32