summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp')
-rw-r--r--libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp b/libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp
index 62e09723e9e..9da57e38ae9 100644
--- a/libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.async/async_race.pass.cpp
@@ -62,6 +62,8 @@ void test_each() {
}
}
-int main() {
+int main(int, char**) {
for (int i=0; i < 25; ++i) test_each();
+
+ return 0;
}
OpenPOWER on IntegriCloud