diff options
Diffstat (limited to 'libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp')
-rw-r--r-- | libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp b/libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp index c281a9d2097..46c53a863f5 100644 --- a/libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp +++ b/libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp @@ -46,7 +46,7 @@ void f2() test2 = 2; } -int main() +int main(int, char**) { std::thread t1(f1); std::thread t2(f2); @@ -65,4 +65,6 @@ int main() t2.join(); assert(test1 == 2); assert(test2 == 2); + + return 0; } |