summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/futures/futures.async/async.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.async/async.pass.cpp')
-rw-r--r--libcxx/test/std/thread/futures/futures.async/async.pass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.async/async.pass.cpp b/libcxx/test/std/thread/futures/futures.async/async.pass.cpp
index 1083cb47d44..225b63ec889 100644
--- a/libcxx/test/std/thread/futures/futures.async/async.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.async/async.pass.cpp
@@ -102,7 +102,7 @@ void test(CheckLamdba&& getAndCheckFn, bool IsDeferred, Args&&... args) {
}
}
-int main()
+int main(int, char**)
{
// The default launch policy is implementation defined. libc++ defines
// it to be std::launch::async.
@@ -151,4 +151,5 @@ int main()
try { f.get(); assert (false); } catch ( int ) {}
}
#endif
+ return 0;
}
OpenPOWER on IntegriCloud