summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/futures/futures.overview/launch.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.overview/launch.pass.cpp')
-rw-r--r--libcxx/test/std/thread/futures/futures.overview/launch.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.overview/launch.pass.cpp b/libcxx/test/std/thread/futures/futures.overview/launch.pass.cpp
index 0ed166028c4..6d405b508ed 100644
--- a/libcxx/test/std/thread/futures/futures.overview/launch.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.overview/launch.pass.cpp
@@ -22,7 +22,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
#ifdef _LIBCPP_HAS_NO_STRONG_ENUMS
LIBCPP_STATIC_ASSERT(static_cast<int>(std::launch::any) ==
@@ -43,4 +43,6 @@ int main()
#endif
static_assert(static_cast<int>(std::launch::async) == 1, "");
static_assert(static_cast<int>(std::launch::deferred) == 2, "");
+
+ return 0;
}
OpenPOWER on IntegriCloud