summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/futures/futures.promise/get_future.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.promise/get_future.pass.cpp')
-rw-r--r--libcxx/test/std/thread/futures/futures.promise/get_future.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.promise/get_future.pass.cpp b/libcxx/test/std/thread/futures/futures.promise/get_future.pass.cpp
index 3805a96d04a..6385f6345de 100644
--- a/libcxx/test/std/thread/futures/futures.promise/get_future.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.promise/get_future.pass.cpp
@@ -20,7 +20,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
std::promise<double> p;
@@ -56,4 +56,6 @@ int main()
}
}
#endif
+
+ return 0;
}
OpenPOWER on IntegriCloud