diff options
Diffstat (limited to 'test/std/containers/associative/map/map.ops/count0.pass.cpp')
-rw-r--r-- | test/std/containers/associative/map/map.ops/count0.pass.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/std/containers/associative/map/map.ops/count0.pass.cpp b/test/std/containers/associative/map/map.ops/count0.pass.cpp index 0278343006a8..1fa8c4a70bd9 100644 --- a/test/std/containers/associative/map/map.ops/count0.pass.cpp +++ b/test/std/containers/associative/map/map.ops/count0.pass.cpp @@ -28,7 +28,12 @@ int main() { + { typedef std::map<int, double, transparent_less> M; - M().count(C2Int{5}); + } + { + typedef std::map<int, double, transparent_less_not_referenceable> M; + M().count(C2Int{5}); + } } |