summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp')
-rw-r--r--libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp b/libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
index 964180b9898..fe49c2208ee 100644
--- a/libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
@@ -21,7 +21,7 @@
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
assert(test_alloc_base::alloc_count == 0);
{
@@ -66,4 +66,6 @@ int main()
assert(f.valid());
}
assert(test_alloc_base::alloc_count == 0);
+
+ return 0;
}
OpenPOWER on IntegriCloud