Mercurial > hg > CbC > CbC_llvm
diff libcxxabi/test/unwind_04.pass.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 0572611fdcc8 |
children | 5f17cb93ff66 |
line wrap: on
line diff
--- a/libcxxabi/test/unwind_04.pass.cpp Mon May 25 11:55:54 2020 +0900 +++ b/libcxxabi/test/unwind_04.pass.cpp Tue Jun 08 06:07:14 2021 +0900 @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: no-exceptions -// REQUIRES: c++98 || c++03 || c++11 || c++14 +// REQUIRES: c++03 || c++11 || c++14 #include <exception> #include <stdlib.h> @@ -80,7 +80,7 @@ throw 'a'; } -int main() +int main(int, char**) { std::set_unexpected(u_handler); try @@ -111,4 +111,6 @@ assert(A::count == 0); assert(B::count == 0); assert(C::count == 0); + + return 0; }