2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc/24393
* objc.dg/pr24393.m: New.
* obj-c++.dg/pr24393.mm: New.
2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc/28049
* objc.dg/pr28049.m: New.
* obj-c++.dg/pr28049.mm: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165898
138bc75d-0d04-0410-961f-
82ee72b054a4
2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
+ PR objc/24393
+ * objc.dg/pr24393.m: New.
+ * obj-c++.dg/pr24393.mm: New.
+
+2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
+
+ PR objc/28049
+ * objc.dg/pr28049.m: New.
+ * obj-c++.dg/pr28049.mm: New.
+
+2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
+
* objc.dg/attributes/method-attribute-2.m: Updated test. Method
parameter attributes are now supported.
* obj-c++.dg/attributes/method-attribute-2.m: Same change.
--- /dev/null
+/* { dg-compile } */
+#include <objc/objc.h>
+
+@interface Foo
+{
+ Class isa;
+}
+- (void) doSomething:(id object; /* { dg-error "xpected .\\)." } */
+- (void) someOtherMethod;
+@end
--- /dev/null
+/* { dg-do compile } */
++ /* { dg-error "expected" } */
--- /dev/null
+/* { dg-compile } */
+#include <objc/objc.h>
+
+@interface Foo
+{
+ Class isa;
+}
+- (void) doSomething:(id object; /* { dg-error "xpected .\\)." } */
+- (void) someOtherMethod;
+@end
--- /dev/null
+/* { dg-do compile } */
++ /* { dg-error "expected" } */