From: Andrew Pinski Date: Mon, 20 Apr 2009 22:23:55 +0000 (+0000) Subject: handler-1.m: For the NeXT runtime, just return 0. X-Git-Tag: releases/gcc-4.5.0~6328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=158ec531feb66a73bff3fee42bc30cf874e76375;p=thirdparty%2Fgcc.git handler-1.m: For the NeXT runtime, just return 0. 2009-04-20 Andrew Pinski * objc/execute/exceptions/handler-1.m: For the NeXT runtime, just return 0. From-SVN: r146461 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8eea619dc8ec..5b16c6a82679 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-04-20 Andrew Pinski + + * objc/execute/exceptions/handler-1.m: For the NeXT runtime, just return 0. + 2009-04-20 Tobias Burnus PR fortran/39811 diff --git a/gcc/testsuite/objc/execute/exceptions/handler-1.m b/gcc/testsuite/objc/execute/exceptions/handler-1.m index 9cd8df19c44f..684a8312b0b4 100644 --- a/gcc/testsuite/objc/execute/exceptions/handler-1.m +++ b/gcc/testsuite/objc/execute/exceptions/handler-1.m @@ -1,6 +1,16 @@ /* Test custom exception handlers */ /* Author: David Ayers */ +#ifdef __NEXT_RUNTIME__ +/* This test only runs for the GNU runtime. */ + +int main(void) +{ + return 0; +} + +#else + #include #include #include @@ -36,3 +46,6 @@ main(int argc, char *argv[]) abort(); return 0; } + + +#endif