summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp
diff options
context:
space:
mode:
authorBilly Robert O'Neal III <bion@microsoft.com>2017-11-15 07:45:07 +0000
committerBilly Robert O'Neal III <bion@microsoft.com>2017-11-15 07:45:07 +0000
commit1c240a89ffa0d7ca0afab6e36c8f8a58ec73e52f (patch)
tree2caff257dfc12ccf3f21c8e570b1e8b2c525bc1f /libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp
parent83252766f906799d68a46af39687d7a60fa8530a (diff)
downloadbcm5719-llvm-1c240a89ffa0d7ca0afab6e36c8f8a58ec73e52f.tar.gz
bcm5719-llvm-1c240a89ffa0d7ca0afab6e36c8f8a58ec73e52f.zip
Tolerate even more [[nodiscard]] in the STL. Reviewed as https://reviews.llvm.org/D39080
llvm-svn: 318277
Diffstat (limited to 'libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp')
-rw-r--r--libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp b/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp
index b34e40c7527..56690316c12 100644
--- a/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp
@@ -38,7 +38,7 @@ int main()
try
{
std::random_device r("/dev/null");
- r();
+ (void)r();
LIBCPP_ASSERT(false);
}
catch (const std::system_error&)
OpenPOWER on IntegriCloud