Patchwork PR objc/28049

login
register
mail settings
Submitter Nicola Pero
Date Oct. 24, 2010, 3:03 a.m.
Message ID <1287889398.927117759@192.168.2.229>
Download mbox | patch
Permalink /patch/69022/
State New
Headers show

Comments

Nicola Pero - Oct. 24, 2010, 3:03 a.m.
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
Mike Stump - Oct. 24, 2010, 4:48 a.m.
On Oct 23, 2010, at 8:03 PM, "Nicola Pero" <nicola.pero@meta-innovation.com> wrote:
> 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 ?

Ok.
>

Patch

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