summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp')
-rw-r--r--libcxx/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp b/libcxx/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp
index 1ad295220af..ece8b94a563 100644
--- a/libcxx/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp
@@ -22,7 +22,7 @@
#include "test_allocator.h"
#include "min_allocator.h"
-int main()
+int main(int, char**)
{
assert(test_alloc_base::alloc_count == 0);
{
@@ -81,4 +81,6 @@ int main()
std::future<void> f = p.get_future();
assert(f.valid());
}
+
+ return 0;
}
OpenPOWER on IntegriCloud