[test] forwardlist.cons/move_noexcept.pass.cpp

* Don't forbid non-libc++ implementations from strengthening noexcept on forward_list's move constructor.

llvm-svn: 314459
This commit is contained in:
Casey Carter 2017-09-28 20:23:43 +00:00
parent 68e4423917
commit 0d1cfc96e5
1 changed files with 1 additions and 1 deletions

View File

@ -45,9 +45,9 @@ int main()
typedef std::forward_list<MoveOnly, other_allocator<MoveOnly>> C;
static_assert(std::is_nothrow_move_constructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
{
typedef std::forward_list<MoveOnly, some_alloc<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
}