Message ID | 20241030221338.1349405-1-jwakely@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] libstdc++: Fix copy&paste comments in vector range tests | expand |
diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/from_range.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/from_range.cc index e91465f5a71..ed2e3ca6ba1 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/from_range.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/from_range.cc @@ -80,7 +80,7 @@ test_ranges() do_test_a<test_forward_range<short>>(); do_test_a<test_input_range<short>>(); - // Not lvalue-convertible to bool + // Not lvalue-convertible to int struct C { C(int v) : val(v) { } operator int() && { return val; } diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/append_range.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/append_range.cc index 24a5c7d0e7c..5725cd2ad48 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/append_range.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/append_range.cc @@ -69,7 +69,7 @@ test_ranges() do_test_a<test_forward_range<short>>(); do_test_a<test_input_range<short>>(); - // Not lvalue-convertible to bool + // Not lvalue-convertible to int struct C { C(int v) : val(v) { } operator int() && { return val; } diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/assign/assign_range.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/assign/assign_range.cc index 4e8d8af1614..db3b06cfbc0 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/assign/assign_range.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/assign/assign_range.cc @@ -90,7 +90,7 @@ test_ranges() do_test_a<test_forward_range<short>>(); do_test_a<test_input_range<short>>(); - // Not lvalue-convertible to bool + // Not lvalue-convertible to int struct C { C(int v) : val(v) { } operator int() && { return val; } diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/insert_range.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/insert_range.cc index 30219f5da02..68218e94f28 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/insert_range.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/insert_range.cc @@ -80,7 +80,7 @@ test_ranges() do_test_a<test_forward_range<short>>(); do_test_a<test_input_range<short>>(); - // Not lvalue-convertible to bool + // Not lvalue-convertible to int struct C { C(int v) : val(v) { } operator int() && { return val; }