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