diff options
author | Louis Dionne <ldionne@apple.com> | 2019-11-07 12:30:32 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-11-07 12:39:10 +0000 |
commit | 83901cbe5e21906523b7073f8ec7beb4d5a91021 (patch) | |
tree | 2d2cdf3bec9b542c13aad243b45e1633433d70de /libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp | |
parent | e9612e9e851ccd288f83739a1950ebb45d212aee (diff) | |
download | bcm5719-llvm-83901cbe5e21906523b7073f8ec7beb4d5a91021.tar.gz bcm5719-llvm-83901cbe5e21906523b7073f8ec7beb4d5a91021.zip |
[libc++] Fixed copy/copy_n/copy_backward for compilers that do not support is_constant_evaluated.
Differential Revision: https://reviews.llvm.org/D69940
Diffstat (limited to 'libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp')
-rw-r--r-- | libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |