summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp')
-rw-r--r--libcxx/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp b/libcxx/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp
index 30d94e69663..21c68699bfa 100644
--- a/libcxx/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.predef/ranlux24_base.pass.cpp
@@ -13,9 +13,11 @@
#include <random>
#include <cassert>
-int main()
+int main(int, char**)
{
std::ranlux24_base e;
e.discard(9999);
assert(e() == 7937952u);
+
+ return 0;
}
OpenPOWER on IntegriCloud