summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/futures/futures.shared_future/get.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.shared_future/get.pass.cpp')
-rw-r--r--libcxx/test/std/thread/futures/futures.shared_future/get.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.shared_future/get.pass.cpp b/libcxx/test/std/thread/futures/futures.shared_future/get.pass.cpp
index b7767b379ac..038ca71510f 100644
--- a/libcxx/test/std/thread/futures/futures.shared_future/get.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.shared_future/get.pass.cpp
@@ -61,7 +61,7 @@ void func6(std::promise<void> p)
p.set_exception(std::make_exception_ptr('c'));
}
-int main()
+int main(int, char**)
{
{
typedef int T;
@@ -150,4 +150,6 @@ int main()
}
#endif
}
+
+ return 0;
}
OpenPOWER on IntegriCloud