diff options
Diffstat (limited to 'libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp')
-rw-r--r-- | libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp b/libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp index 5fbaf9d8773..c73144db0c1 100644 --- a/libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp +++ b/libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp @@ -18,7 +18,7 @@ #include <cstdlib> #include <cassert> -int main() +int main(int, char**) { typedef std::chrono::system_clock Clock; typedef Clock::time_point time_point; @@ -30,4 +30,6 @@ int main() std::chrono::nanoseconds err = 5 * ms / 100; // The time slept is within 5% of 500ms assert(std::abs(ns.count()) < err.count()); + + return 0; } |