diff options
Diffstat (limited to 'libcxx/test/std/language.support/support.exception/exception/exception.pass.cpp')
-rw-r--r-- | libcxx/test/std/language.support/support.exception/exception/exception.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/language.support/support.exception/exception/exception.pass.cpp b/libcxx/test/std/language.support/support.exception/exception/exception.pass.cpp index bfb27418f53..893a7d5b363 100644 --- a/libcxx/test/std/language.support/support.exception/exception/exception.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/exception/exception.pass.cpp @@ -12,7 +12,7 @@ #include <type_traits> #include <cassert> -int main() +int main(int, char**) { static_assert(std::is_polymorphic<std::exception>::value, "std::is_polymorphic<std::exception>::value"); @@ -21,4 +21,6 @@ int main() b2 = b; const char* w = b2.what(); assert(w); + + return 0; } |