summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/discard.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.adapt/rand.adapt.shuf/discard.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.adapt/rand.adapt.shuf/discard.pass.cpp')
-rw-r--r--libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/discard.pass.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/discard.pass.cpp b/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/discard.pass.cpp
index 6e04e26c7e5..b442a76adb6 100644
--- a/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/discard.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/discard.pass.cpp
@@ -25,9 +25,9 @@ test1()
assert(e1 == e2);
e1.discard(3);
assert(e1 != e2);
- e2();
- e2();
- e2();
+ (void)e2();
+ (void)e2();
+ (void)e2();
assert(e1 == e2);
}
OpenPOWER on IntegriCloud