diff options
Diffstat (limited to 'libcxx/test')
-rw-r--r-- | libcxx/test/libcxx/containers/sequences/vector/asan_throw.pass.cpp | 2 | ||||
-rw-r--r-- | libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/libcxx/containers/sequences/vector/asan_throw.pass.cpp b/libcxx/test/libcxx/containers/sequences/vector/asan_throw.pass.cpp index fcf27b014fc..43324e9418f 100644 --- a/libcxx/test/libcxx/containers/sequences/vector/asan_throw.pass.cpp +++ b/libcxx/test/libcxx/containers/sequences/vector/asan_throw.pass.cpp @@ -41,7 +41,7 @@ private: class ThrowOnCopy { public: ThrowOnCopy() : should_throw(false) {} - explicit ThrowOnCopy(bool should_throw) : should_throw(should_throw) {} + explicit ThrowOnCopy(bool xshould_throw) : should_throw(xshould_throw) {} ThrowOnCopy(ThrowOnCopy const & other) : should_throw(other.should_throw) diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp index b56d31b9d0d..f39436048ae 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp @@ -81,7 +81,7 @@ test_int_array_struct_source() struct test1 { test1() : c(0) { } - test1(char c) : c(c + 1) { } + test1(char xc) : c(xc + 1) { } char c; }; |