Commit 158ec531 by Andrew Pinski Committed by Andrew Pinski

handler-1.m: For the NeXT runtime, just return 0.

2009-04-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * objc/execute/exceptions/handler-1.m: For the NeXT runtime, just return 0.

From-SVN: r146461
parent 47b0b4fa
2009-04-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
* objc/execute/exceptions/handler-1.m: For the NeXT runtime, just return 0.
2009-04-20 Tobias Burnus <burnus@net-b.de> 2009-04-20 Tobias Burnus <burnus@net-b.de>
PR fortran/39811 PR fortran/39811
......
/* Test custom exception handlers */ /* Test custom exception handlers */
/* Author: David Ayers */ /* Author: David Ayers */
#ifdef __NEXT_RUNTIME__
/* This test only runs for the GNU runtime. */
int main(void)
{
return 0;
}
#else
#include <objc/objc-api.h> #include <objc/objc-api.h>
#include <objc/Object.h> #include <objc/Object.h>
#include <stdio.h> #include <stdio.h>
...@@ -36,3 +46,6 @@ main(int argc, char *argv[]) ...@@ -36,3 +46,6 @@ main(int argc, char *argv[])
abort(); abort();
return 0; return 0;
} }
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment