summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-11-06 14:52:26 +0000
committerLouis Dionne <ldionne@apple.com>2019-11-07 12:29:17 +0000
commite9612e9e851ccd288f83739a1950ebb45d212aee (patch)
tree0e569b0e3b3d35b35fceb84b53700b2b1efc8639 /libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
parentdde589389fcb8b5098f7a47f1b781b27d29a0cac (diff)
downloadbcm5719-llvm-e9612e9e851ccd288f83739a1950ebb45d212aee.tar.gz
bcm5719-llvm-e9612e9e851ccd288f83739a1950ebb45d212aee.zip
[libc++] Fix some constexpr tests broken by D68837
This doesn't fix all the issues with D68837
Diffstat (limited to 'libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp')
-rw-r--r--libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
index 0678257b4f6..6eb403d525d 100644
--- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
@@ -25,7 +25,7 @@ TEST_CONSTEXPR_CXX20 void
test_copy_backward()
{
const unsigned N = 1000;
- int ia[N];
+ int ia[N] = {};
for (unsigned i = 0; i < N; ++i)
ia[i] = i;
int ib[N] = {0};
OpenPOWER on IntegriCloud