]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
handler-1.m: For the NeXT runtime, just return 0.
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Mon, 20 Apr 2009 22:23:55 +0000 (22:23 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 20 Apr 2009 22:23:55 +0000 (15:23 -0700)
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

gcc/testsuite/ChangeLog
gcc/testsuite/objc/execute/exceptions/handler-1.m

index 8eea619dc8ec3b77c1750a099434dfa5386d7bac..5b16c6a82679f86a4c593875ced20697c8e566f9 100644 (file)
@@ -1,3 +1,7 @@
+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>
 
        PR fortran/39811
index 9cd8df19c44f55fadc31fe8f801189a1190bb960..684a8312b0b458a3d14c2dbc6db07592d5c586d5 100644 (file)
@@ -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 <objc/objc-api.h>
 #include <objc/Object.h>
 #include <stdio.h>
@@ -36,3 +46,6 @@ main(int argc, char *argv[])
   abort();
   return 0;
 }
+
+
+#endif