===================================================================
@@ -1,3 +1,9 @@
+2010-10-19 Nicola Pero <nicola.pero@meta-innovation.com>
+
+ PR objc/23709
+ * objc.dg/pr23709.m: New.
+ * obj-c++.dg/pr23709.m: New.
+
2010-10-19 Richard Henderson <rth@redhat.com>
* gcc.target/i386/fma3-fma.c: New.
===================================================================
@@ -0,0 +1,12 @@
+/* { dg-do compile } */
+
+@interface A
++(void)method: (int)parameter {} /* { dg-error "expected" } */
+@end
+
+@implementation A
++(void)method: (int)parameter
+{
+ *parameter; /* { dg-error "invalid type argument" } */
+}
+@end
===================================================================
@@ -0,0 +1,12 @@
+/* { dg-do compile } */
+
+@interface A
++(void)method: (int)parameter {} /* { dg-error "expected" } */
+@end
+
+@implementation A
++(void)method: (int)parameter
+{
+ *parameter; /* { dg-error "invalid type argument" } */
+}
+@end