summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp')
-rw-r--r--libcxx/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp b/libcxx/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp
index 883aa923757..2562b788487 100644
--- a/libcxx/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp
+++ b/libcxx/test/std/depr/exception.unexpected/unexpected/unexpected.pass.cpp
@@ -19,9 +19,11 @@ void f1()
std::exit(0);
}
-int main()
+int main(int, char**)
{
std::set_unexpected(f1);
std::unexpected();
assert(false);
+
+ return 0;
}
OpenPOWER on IntegriCloud