[libcxx-commits] [libcxx] 3fb3770 - [libc++] Use cpp20_output_iterator in tests.

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 6 08:48:31 PDT 2022


Author: Mark de Wever
Date: 2022-04-06T17:48:27+02:00
New Revision: 3fb3770983b839c6239391e011db736aa998a200

URL: https://github.com/llvm/llvm-project/commit/3fb3770983b839c6239391e011db736aa998a200
DIFF: https://github.com/llvm/llvm-project/commit/3fb3770983b839c6239391e011db736aa998a200.diff

LOG: [libc++] Use cpp20_output_iterator in tests.

Adds the new cpp20_output_iterator in the ranges::transform test.

Reviewed By: philnik, #libc

Differential Revision: https://reviews.llvm.org/D123139

Added: 
    

Modified: 
    libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp
index 011c55446b25f..a589b9e7c5150 100644
--- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp
@@ -571,6 +571,7 @@ constexpr bool test() {
 
 int main(int, char**) {
   test_iterators_in1_in2<cpp17_output_iterator<int*>>();
+  test_iterators_in1_in2<cpp20_output_iterator<int*>>();
   test_iterators_in1_in2<forward_iterator<int*>>();
   test_iterators_in1_in2<bidirectional_iterator<int*>>();
   test_iterators_in1_in2<random_access_iterator<int*>>();


        


More information about the libcxx-commits mailing list