summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp')
-rw-r--r--libcxx/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp b/libcxx/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp
index 928ede9fb83..1a5028bce3a 100644
--- a/libcxx/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.promise/uses_allocator.pass.cpp
@@ -19,9 +19,11 @@
#include <future>
#include "test_allocator.h"
-int main()
+int main(int, char**)
{
static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), "");
static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), "");
static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
+
+ return 0;
}
OpenPOWER on IntegriCloud