diff options
| author | Casey Carter <Casey@Carter.net> | 2017-09-30 23:15:22 +0000 |
|---|---|---|
| committer | Casey Carter <Casey@Carter.net> | 2017-09-30 23:15:22 +0000 |
| commit | 6ae59c599b7d3a00dbdea6b9eab9e270a49d6b1e (patch) | |
| tree | eeaec0f60bd2e21b13e428885ca87176b7c10041 /libcxx/test/std | |
| parent | 1fffcc4580f71b9c97f4468965a99b7f201d66b1 (diff) | |
| download | bcm5719-llvm-6ae59c599b7d3a00dbdea6b9eab9e270a49d6b1e.tar.gz bcm5719-llvm-6ae59c599b7d3a00dbdea6b9eab9e270a49d6b1e.zip | |
[test] Allow other implementations to strengthen noexcept on deque's move constructor
llvm-svn: 314608
Diffstat (limited to 'libcxx/test/std')
| -rw-r--r-- | libcxx/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp b/libcxx/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp index fdf67d23a12..baae755bc27 100644 --- a/libcxx/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp +++ b/libcxx/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp @@ -45,9 +45,9 @@ int main() typedef std::deque<MoveOnly, other_allocator<MoveOnly>> C; static_assert(std::is_nothrow_move_constructible<C>::value, ""); } -#endif // _LIBCPP_VERSION { typedef std::deque<MoveOnly, some_alloc<MoveOnly>> C; static_assert(!std::is_nothrow_move_constructible<C>::value, ""); } +#endif // _LIBCPP_VERSION } |

