This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PR objc/28049
- From: "Nicola Pero" <nicola dot pero at meta-innovation dot com>
- To: "gcc-patches at gnu dot org" <gcc-patches at gnu dot org>
- Date: Sun, 24 Oct 2010 05:03:18 +0200 (CEST)
- Subject: PR objc/28049
This bug is already fixed in trunk, but I'd like to commit a couple of testcases for it
to make sure it doesn't reappear.
Ok to commit ?
Thanks
Index: ChangeLog
===================================================================
--- ChangeLog (revision 165896)
+++ ChangeLog (working copy)
@@ -1,5 +1,10 @@
2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
+ * 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.
Index: objc.dg/pr28049.m
===================================================================
--- objc.dg/pr28049.m (revision 0)
+++ objc.dg/pr28049.m (revision 0)
@@ -0,0 +1,2 @@
+/* { dg-do compile } */
++ /* { dg-error "expected" } */
Index: obj-c++.dg/pr28049.mm
===================================================================
--- obj-c++.dg/pr28049.mm (revision 0)
+++ obj-c++.dg/pr28049.mm (revision 0)
@@ -0,0 +1,2 @@
+/* { dg-do compile } */
++ /* { dg-error "expected" } */