diff mbox

=?UTF-8?Q?PR=20objc/45735=20(more=20testcases)?=

Message ID 1287917714.12423832@192.168.2.227
State New
Headers show

Commit Message

Nicola Pero Oct. 24, 2010, 10:55 a.m. UTC
PR objc/45735 is another "ice-on-invalid-code" bug 
which we have fixed in trunk for 4.6.0 while working on
the ObjC method declaration/definition parsing.

Ok to commit two testcases ?

Thanks

Comments

Mike Stump Oct. 24, 2010, 4:45 p.m. UTC | #1
On Oct 24, 2010, at 3:55 AM, "Nicola Pero" <nicola.pero@meta-innovation.com> wrote:
> Ok to commit two testcases ?

Ok.
diff mbox

Patch

Index: ChangeLog
===================================================================
--- ChangeLog   (revision 165898)
+++ ChangeLog   (working copy)
@@ -1,5 +1,11 @@ 
 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
 
+       PR objc/45735   
+       * obj-c.dg/pr45735.mm: New.     
+       * obj-c++.dg/pr45735.mm: New.
+
+2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
+
        PR objc/24393
        * objc.dg/pr24393.m: New.
        * obj-c++.dg/pr24393.mm: New.
Index: objc.dg/pr45735.m
===================================================================
--- objc.dg/pr45735.m   (revision 0)
+++ objc.dg/pr45735.m   (revision 0)
@@ -0,0 +1,4 @@ 
+/* { dg-compile } */
+@interface Fraction
+-(void) setNumerator: (int) :(int) ; /* { dg-error "expected identifier" } */
+@end
Index: obj-c++.dg/pr45735.mm
===================================================================
--- obj-c++.dg/pr45735.mm       (revision 0)
+++ obj-c++.dg/pr45735.mm       (revision 0)
@@ -0,0 +1,4 @@ 
+/* { dg-compile } */
+@interface Fraction
+-(void) setNumerator: (int) :(int) ; /* { dg-error "expected identifier" } */
+@end