summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp
diff options
context:
space:
mode:
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