summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/unord
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
commitba40b0566ff0e835bc8234a4651e8cbf76181c3e (patch)
treee06d8a46d0d11568b8e772d15a6d60fd220e9e2b /libcxx/test/std/containers/unord
parent9dc54e25f007bf5309894337c8682a678deb7033 (diff)
downloadbcm5719-llvm-ba40b0566ff0e835bc8234a4651e8cbf76181c3e.tar.gz
bcm5719-llvm-ba40b0566ff0e835bc8234a4651e8cbf76181c3e.zip
Change (void) casts to TEST_IGNORE_NODISCARD, as requested by Eric. Reviewed as https://reviews.llvm.org/D40065
llvm-svn: 318804
Diffstat (limited to 'libcxx/test/std/containers/unord')
-rw-r--r--libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp b/libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp
index 27c95f180be..e526b654a19 100644
--- a/libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp
+++ b/libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp
@@ -72,7 +72,7 @@ int main()
#ifndef TEST_HAS_NO_EXCEPTIONS
try
{
- (void)c.at(11);
+ TEST_IGNORE_NODISCARD c.at(11);
assert(false);
}
catch (std::out_of_range&)
@@ -130,7 +130,7 @@ int main()
#ifndef TEST_HAS_NO_EXCEPTIONS
try
{
- (void)c.at(11);
+ TEST_IGNORE_NODISCARD c.at(11);
assert(false);
}
catch (std::out_of_range&)
OpenPOWER on IntegriCloud