diff options
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.shared_future/wait.pass.cpp')
-rw-r--r-- | libcxx/test/std/thread/futures/futures.shared_future/wait.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.shared_future/wait.pass.cpp b/libcxx/test/std/thread/futures/futures.shared_future/wait.pass.cpp index 11dc4ba3d13..f78ca6bfc42 100644 --- a/libcxx/test/std/thread/futures/futures.shared_future/wait.pass.cpp +++ b/libcxx/test/std/thread/futures/futures.shared_future/wait.pass.cpp @@ -39,7 +39,7 @@ void func5(std::promise<void> p) p.set_value(); } -int main() +int main(int, char**) { typedef std::chrono::high_resolution_clock Clock; typedef std::chrono::duration<double, std::milli> ms; @@ -85,4 +85,6 @@ int main() assert(f.valid()); assert(t1-t0 < ms(5)); } + + return 0; } |