diff options
Diffstat (limited to 'libcxx/test/std/numerics/rand/rand.device/entropy.pass.cpp')
| -rw-r--r-- | libcxx/test/std/numerics/rand/rand.device/entropy.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/std/numerics/rand/rand.device/entropy.pass.cpp b/libcxx/test/std/numerics/rand/rand.device/entropy.pass.cpp index f01e5653391..141a84a6d9b 100644 --- a/libcxx/test/std/numerics/rand/rand.device/entropy.pass.cpp +++ b/libcxx/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 } |

