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