summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp')
-rw-r--r--libcxx/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp b/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp
index 57b3024fe0a..35580d4293b 100644
--- a/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp
+++ b/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/destructor.pass.cpp
@@ -44,7 +44,7 @@ void g()
m.unlock();
}
-int main()
+int main(int, char**)
{
cv = new std::condition_variable_any;
std::thread th2(g);
@@ -55,4 +55,6 @@ int main()
std::thread th1(f);
th1.join();
th2.join();
+
+ return 0;
}
OpenPOWER on IntegriCloud