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
21 #include "test_macros.h"
26 #if defined(_LIBCPP_VERSION)
28 typedef std::stack
<MoveOnly
> C
;
29 static_assert(std::is_nothrow_move_constructible
<C
>::value
, "");