summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp')
-rw-r--r--libcxx/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp b/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp
index e5c0a0943c9..27a0f87e59f 100644
--- a/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp
+++ b/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/notify_one.pass.cpp
@@ -52,7 +52,7 @@ void f2()
test2 = 2;
}
-int main()
+int main(int, char**)
{
std::thread t1(f1);
std::thread t2(f2);
@@ -96,4 +96,6 @@ int main()
}
else
assert(false);
+
+ return 0;
}
OpenPOWER on IntegriCloud