summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp')
-rw-r--r--libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp b/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp
index b5b8aa11fd5..4b68282f77c 100644
--- a/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.device/eval.pass.cpp
@@ -26,7 +26,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
std::random_device r;
@@ -45,4 +45,6 @@ int main()
{
}
#endif
+
+ return 0;
}
OpenPOWER on IntegriCloud