Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2022-03-12 14:15:26 +0300
committerMark de Wever <koraq@xs4all.nl>2022-03-12 14:22:38 +0300
commit5ac257da3559f6bd716330da512735ac07364802 (patch)
treeb05f54d9afa9145579d81c33dc2c38ef7442d32f /libcxx
parentec1a7647ee67cd7d865f3621fe66d82bda7ccc15 (diff)
[libc++] Remove unneeded tests.
As suggested in D120742.
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp
index 55a0c44a446d..1c212368970c 100644
--- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp
+++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp
@@ -57,30 +57,6 @@ constexpr bool test() {
assert(iter.count() == 8);
}
- {
- const std::counted_iterator iter(cpp20_input_iterator<int*>{buffer}, 8);
- assert(base(iter.base()) == buffer);
- assert(iter.count() == 8);
- }
-
- {
- const std::counted_iterator iter(forward_iterator<int*>{buffer}, 7);
- assert(iter.base() == forward_iterator<int*>{buffer});
- assert(iter.count() == 7);
- }
-
- {
- const std::counted_iterator iter(contiguous_iterator<int*>{buffer}, 6);
- assert(iter.base() == contiguous_iterator<int*>{buffer});
- assert(iter.count() == 6);
- }
-
- {
- const std::counted_iterator iter(InputOrOutputArchetype{buffer}, 8);
- assert(iter.base().ptr == buffer);
- assert(iter.count() == 8);
- }
-
return true;
}