//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14 // TODO: Change to XFAIL once https://llvm.org/PR40995 is fixed // UNSUPPORTED: availability-pmr-missing // // namespace std::pmr { // template // using deque = // ::std::deque> // // } // namespace std::pmr #include #include #include #include int main(int, char**) { using StdDeque = std::deque>; using PmrDeque = std::pmr::deque; static_assert(std::is_same::value, ""); PmrDeque d; assert(d.get_allocator().resource() == std::pmr::get_default_resource()); return 0; }