From e26aada9153497d64a6df74e285b620a6617a714 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Mon, 25 Jul 2016 04:56:32 +0000 Subject: [PATCH] Remove use of C++1z static assert in C++11 test llvm-svn: 276608 --- .../pairs.pair/special_member_generation_test.pass.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libcxx/test/std/utilities/utility/pairs/pairs.pair/special_member_generation_test.pass.cpp b/libcxx/test/std/utilities/utility/pairs/pairs.pair/special_member_generation_test.pass.cpp index 95cdfad..c906f61 100644 --- a/libcxx/test/std/utilities/utility/pairs/pairs.pair/special_member_generation_test.pass.cpp +++ b/libcxx/test/std/utilities/utility/pairs/pairs.pair/special_member_generation_test.pass.cpp @@ -32,10 +32,10 @@ namespace ConstructorTest { template void test() { using P1 = std::pair; using P2 = std::pair; - static_assert(std::is_copy_constructible::value == CanCopy); - static_assert(std::is_move_constructible::value == CanMove); - static_assert(std::is_copy_constructible::value == CanCopy); - static_assert(std::is_move_constructible::value == CanMove); + static_assert(std::is_copy_constructible::value == CanCopy, ""); + static_assert(std::is_move_constructible::value == CanMove, ""); + static_assert(std::is_copy_constructible::value == CanCopy, ""); + static_assert(std::is_move_constructible::value == CanMove, ""); }; } // namespace ConstructorTest @@ -80,10 +80,10 @@ namespace AssignmentOperatorTest { template void test() { using P1 = std::pair; using P2 = std::pair; - static_assert(std::is_copy_assignable::value == CanCopy); - static_assert(std::is_move_assignable::value == CanMove); - static_assert(std::is_copy_assignable::value == CanCopy); - static_assert(std::is_move_assignable::value == CanMove); + static_assert(std::is_copy_assignable::value == CanCopy, ""); + static_assert(std::is_move_assignable::value == CanMove, ""); + static_assert(std::is_copy_assignable::value == CanCopy, ""); + static_assert(std::is_move_assignable::value == CanMove, ""); }; } // namespace AssignmentOperatorTest -- 2.7.4