diff options
author | Louis Dionne <ldionne@apple.com> | 2019-11-06 14:52:26 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-11-07 12:29:17 +0000 |
commit | e9612e9e851ccd288f83739a1950ebb45d212aee (patch) | |
tree | 0e569b0e3b3d35b35fceb84b53700b2b1efc8639 /libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp | |
parent | dde589389fcb8b5098f7a47f1b781b27d29a0cac (diff) | |
download | bcm5719-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.pass.cpp')
-rw-r--r-- | libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp index cc99859d8a7..2cdd3b9799c 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp @@ -23,7 +23,7 @@ TEST_CONSTEXPR_CXX20 void test_copy() { const unsigned N = 1000; - int ia[N]; + int ia[N] = {}; for (unsigned i = 0; i < N; ++i) ia[i] = i; int ib[N] = {0}; |