diff options
Diffstat (limited to 'libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp')
-rw-r--r-- | libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp b/libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp index bae25af1fab..468aeb85bec 100644 --- a/libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp +++ b/libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp @@ -29,7 +29,7 @@ #include "test_macros.h" -int main() +int main(int, char**) { { std::future_error f(std::make_error_code(std::future_errc::broken_promise)); @@ -50,4 +50,6 @@ int main() LIBCPP_ASSERT(std::strcmp(f.what(), "Operation not permitted on an object without " "an associated state.") == 0); } + + return 0; } |