summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/futures/futures.overview/future_status.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.overview/future_status.pass.cpp')
-rw-r--r--libcxx/test/std/thread/futures/futures.overview/future_status.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.overview/future_status.pass.cpp b/libcxx/test/std/thread/futures/futures.overview/future_status.pass.cpp
index 23c5bac06b7..ceff64f7ebb 100644
--- a/libcxx/test/std/thread/futures/futures.overview/future_status.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.overview/future_status.pass.cpp
@@ -19,9 +19,11 @@
#include <future>
-int main()
+int main(int, char**)
{
static_assert(static_cast<int>(std::future_status::ready) == 0, "");
static_assert(static_cast<int>(std::future_status::timeout) == 1, "");
static_assert(static_cast<int>(std::future_status::deferred) == 2, "");
+
+ return 0;
}
OpenPOWER on IntegriCloud