This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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" } */



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]