diff options
author | Billy Robert O'Neal III <bion@microsoft.com> | 2017-11-15 07:45:07 +0000 |
---|---|---|
committer | Billy Robert O'Neal III <bion@microsoft.com> | 2017-11-15 07:45:07 +0000 |
commit | 1c240a89ffa0d7ca0afab6e36c8f8a58ec73e52f (patch) | |
tree | 2caff257dfc12ccf3f21c8e570b1e8b2c525bc1f /libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp | |
parent | 83252766f906799d68a46af39687d7a60fa8530a (diff) | |
download | bcm5719-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.cpp | 2 |
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&) |