summaryrefslogtreecommitdiff
path: root/test/std/containers/associative/map/map.ops/find3.fail.cpp
diff options
context:
space:
mode:
authorBilly Robert O'Neal III <bion@microsoft.com>2017-11-15 07:40:37 +0000
committerBilly Robert O'Neal III <bion@microsoft.com>2017-11-15 07:40:37 +0000
commit9ae62c79cc771ff6cefcd2a98f69ecf7b40ebd71 (patch)
tree443001fcd7731d142d5f5f9a9bfb2b88a9fa0ffb /test/std/containers/associative/map/map.ops/find3.fail.cpp
parent88626bf496e9a1276652790438b389e65950629f (diff)
Tolerate [[nodiscard]] annotations in the STL. Reviewed as https://reviews.llvm.org/D39033
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@318276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/std/containers/associative/map/map.ops/find3.fail.cpp')
-rw-r--r--test/std/containers/associative/map/map.ops/find3.fail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/std/containers/associative/map/map.ops/find3.fail.cpp b/test/std/containers/associative/map/map.ops/find3.fail.cpp
index f5e92b826..79a4ae0d9 100644
--- a/test/std/containers/associative/map/map.ops/find3.fail.cpp
+++ b/test/std/containers/associative/map/map.ops/find3.fail.cpp
@@ -34,7 +34,7 @@ int main()
{
typedef std::map<int, double, transparent_less_not_a_type> M;
- M().find(C2Int{5});
+ (void)M().find(C2Int{5});
}
}
#endif