diff options
Diffstat (limited to 'test/std/numerics/rand/rand.device/entropy.pass.cpp')
-rw-r--r-- | test/std/numerics/rand/rand.device/entropy.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/std/numerics/rand/rand.device/entropy.pass.cpp b/test/std/numerics/rand/rand.device/entropy.pass.cpp index f01e5653391f4..141a84a6d9bda 100644 --- a/test/std/numerics/rand/rand.device/entropy.pass.cpp +++ b/test/std/numerics/rand/rand.device/entropy.pass.cpp @@ -20,4 +20,5 @@ int main() { std::random_device r; double e = r.entropy(); + ((void)e); // Prevent unused warning } |