===================================================================
@@ -1,3 +1,8 @@
+2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
+
+ PR objc/18255
+ * objc.dg/pr18255.m: New.
+
2010-10-16 Jan Hubicka <jh@suse.cz>
PR middle-end/44206
===================================================================
@@ -0,0 +1,24 @@
+/* This is a test for a GNU Objective-C Runtime library bug. */
+/* { dg-do run } */
+/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */
+
+#include <objc/Protocol.h>
+#include <stdlib.h>
+
+@protocol a
+- aMethod;
+@end
+
+
+@protocol b <a>
+- bMethod;
+@end
+
+
+int main (int argc, char **argv)
+{
+ if ([@protocol(b) descriptionForInstanceMethod: @selector(aMethod)] == NULL)
+ abort ();
+
+ return 0;
+}