1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
13 // noexcept(is_nothrow_move_constructible<container_type>::value);
15 // This tests a conforming extension
17 // UNSUPPORTED: c++98, c++03
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, "");
32 #endif // _LIBCPP_VERSION