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 //===----------------------------------------------------------------------===//
14 // noexcept(is_nothrow_move_constructible<container_type>::value);
16 // This tests a conforming extension
22 #include "test_macros.h"
27 #if defined(_LIBCPP_VERSION)
29 typedef std::queue
<MoveOnly
> C
;
30 static_assert(std::is_nothrow_move_constructible
<C
>::value
, "");