Index: ChangeLog
===================================================================
--- ChangeLog   (revision 164357)
+++ ChangeLog   (working copy)
@@ -1,3 +1,9 @@
+2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       PR testsuite/45692      
+       * objc/execute/exceptions/throw-nil.m: Run the test only with the
+       GNU runtime.
+
 2010-09-17  Richard Guenther  <rguenther@suse.de>
 
        * gcc.dg/pr27898.c: Use -flto instead of -combine.
Index: objc/execute/exceptions/throw-nil.m
===================================================================
--- objc/execute/exceptions/throw-nil.m (revision 164357)
+++ objc/execute/exceptions/throw-nil.m (working copy)
@@ -1,8 +1,18 @@
 #include <objc/objc.h>
 #include <objc/Object.h>
 
+#ifdef __NEXT_RUNTIME__
+/* This test only runs for the GNU runtime.  */
+
+int main(void)
+{
+  return 0;
+}
+
+#else
+
 /* Test throwing a nil exception.  A 'nil' exception can only be
- * caugth by a generic exception handler.
+   caugth by a generic exception handler.
  */
 
 int main (void)
@@ -36,3 +46,5 @@
 
   return 0;
 }
+
+#endif
