summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp')
-rw-r--r--libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp b/libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
index 549f8e0a5ac..e4d4869d77a 100644
--- a/libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
+++ b/libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
@@ -14,8 +14,10 @@
void f() {}
-int main()
+int main(int, char**)
{
std::unexpected_handler p = f;
((void)p);
+
+ return 0;
}
OpenPOWER on IntegriCloud