summaryrefslogtreecommitdiff
path: root/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp
diff options
context:
space:
mode:
authorBilly Robert O'Neal III <bion@microsoft.com>2017-11-21 21:37:26 +0000
committerBilly Robert O'Neal III <bion@microsoft.com>2017-11-21 21:37:26 +0000
commit7e250fcdc138fb6fc3580d6bf5eba5bd2d73980f (patch)
tree91356f694465b8fbd8f733f79efda9773c120f7e /test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp
parent10bebe205344aae19156d77a9d80f61b1ab2f7f1 (diff)
Change (void) casts to TEST_IGNORE_NODISCARD, as requested by Eric. Reviewed as https://reviews.llvm.org/D40065
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@318804 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp')
-rw-r--r--test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp b/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp
index 32435f98c..38b77684c 100644
--- a/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp
+++ b/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp
@@ -34,7 +34,7 @@ int main()
{
typedef std::multimap<int, double, transparent_less_private> M;
- (void)M().find(C2Int{5});
+ TEST_IGNORE_NODISCARD M().find(C2Int{5});
}
}
#endif