diff options
author | Mark de Wever <koraq@xs4all.nl> | 2022-03-12 14:15:26 +0300 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2022-03-12 14:22:38 +0300 |
commit | 5ac257da3559f6bd716330da512735ac07364802 (patch) | |
tree | b05f54d9afa9145579d81c33dc2c38ef7442d32f /libcxx | |
parent | ec1a7647ee67cd7d865f3621fe66d82bda7ccc15 (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.cpp | 24 |
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; } |