summaryrefslogtreecommitdiff
path: root/test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-16 21:04:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-16 21:04:04 +0000
commit8462a49537476f8c62bcabfe490226af0d7c1cae (patch)
treeadbbe01182274045b7a8a9085c8f160360b9bea9 /test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp
parent74c4bc8d0eddcb4786594f1c6b598094fac43859 (diff)
Notes
Diffstat (limited to 'test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp')
-rw-r--r--test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp b/test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp
index 3f6852d085c3..1a572e9c5070 100644
--- a/test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp
+++ b/test/std/containers/associative/multimap/multimap.ops/upper_bound0.pass.cpp
@@ -28,7 +28,12 @@
int main()
{
+ {
typedef std::multimap<int, double, transparent_less> M;
-
M().upper_bound(C2Int{5});
+ }
+ {
+ typedef std::multimap<int, double, transparent_less_not_referenceable> M;
+ M().upper_bound(C2Int{5});
+ }
}