diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-10-23 18:55:51 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-10-23 18:55:51 +0000 |
commit | 1e96d5380ef393ecd1c414c59070a33486cf067d (patch) | |
tree | 6b6a7fc473ce80b16f02a0ec69cfd35d2e53026a /libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply | |
parent | eca753ad92985ce7296956f916e1746d6a87833e (diff) | |
download | bcm5719-llvm-1e96d5380ef393ecd1c414c59070a33486cf067d.tar.gz bcm5719-llvm-1e96d5380ef393ecd1c414c59070a33486cf067d.zip |
Make make_from_tuple tests more portable. Patch from STL@microsoft.com
llvm-svn: 284943
Diffstat (limited to 'libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply')
-rw-r--r-- | libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp index 143ae195e6f..9ffd4c1594b 100644 --- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp +++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp @@ -175,14 +175,14 @@ void test_noexcept() { Tuple tup; ((void)tup); Tuple const& ctup = tup; ((void)ctup); ASSERT_NOT_NOEXCEPT(std::make_from_tuple<TestType>(ctup)); - ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(std::move(tup))); + LIBCPP_ONLY(ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(std::move(tup)))); } { using Tuple = std::pair<int, NothrowMoveable>; Tuple tup; ((void)tup); Tuple const& ctup = tup; ((void)ctup); ASSERT_NOT_NOEXCEPT(std::make_from_tuple<TestType>(ctup)); - ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(std::move(tup))); + LIBCPP_ONLY(ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(std::move(tup)))); } { using Tuple = std::tuple<int, int, int>; @@ -192,7 +192,7 @@ void test_noexcept() { { using Tuple = std::tuple<long, long, long>; Tuple tup; ((void)tup); - ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(tup)); + LIBCPP_ONLY(ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(tup))); } { using Tuple = std::array<int, 3>; @@ -202,7 +202,7 @@ void test_noexcept() { { using Tuple = std::array<long, 3>; Tuple tup; ((void)tup); - ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(tup)); + LIBCPP_ONLY(ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(tup))); } } |