summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp')
-rw-r--r--libcxx/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp b/libcxx/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp
index 5c1caa0cbe0..6f772b5c286 100644
--- a/libcxx/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp
+++ b/libcxx/test/std/thread/thread.threads/thread.thread.this/yield.pass.cpp
@@ -15,7 +15,9 @@
#include <thread>
#include <cassert>
-int main()
+int main(int, char**)
{
std::this_thread::yield();
+
+ return 0;
}
OpenPOWER on IntegriCloud