diff options
Diffstat (limited to 'libcxx/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp')
-rw-r--r-- | libcxx/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp index 2f172d11d67..c666c295f3a 100644 --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp @@ -18,6 +18,7 @@ #include "min_allocator.h" #include "private_constructor.hpp" +#include "is_transparent.h" int main() { @@ -122,6 +123,21 @@ int main() assert(r == 3); r = m.count(10); assert(r == 0); + + r = m.count(C2Int(4)); + assert(r == 0); + r = m.count(C2Int(5)); + assert(r == 3); + r = m.count(C2Int(6)); + assert(r == 0); + r = m.count(C2Int(7)); + assert(r == 3); + r = m.count(C2Int(8)); + assert(r == 0); + r = m.count(C2Int(9)); + assert(r == 3); + r = m.count(C2Int(10)); + assert(r == 0); } { |