From 83901cbe5e21906523b7073f8ec7beb4d5a91021 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Thu, 7 Nov 2019 12:30:32 +0000 Subject: [libc++] Fixed copy/copy_n/copy_backward for compilers that do not support is_constant_evaluated. Differential Revision: https://reviews.llvm.org/D69940 --- .../std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp') diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp index 72c22b53b54..8c4900fe33b 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp @@ -82,7 +82,7 @@ int main(int, char**) { test(); -#if TEST_STD_VER > 17 +#if TEST_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_BUILTIN_IS_CONSTANT_EVALUATED) static_assert(test()); #endif -- cgit v1.2.3