From: Nicola Pero Date: Sun, 24 Oct 2010 16:48:57 +0000 (+0000) Subject: re PR objc/45735 (ICE in objc_add_method, at objc/objc-act.c:6941) X-Git-Tag: upstream/12.2.0~89082 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5cd07463dac757a2899ed43e28494ce68c5b2f6;p=platform%2Fupstream%2Fgcc.git re PR objc/45735 (ICE in objc_add_method, at objc/objc-act.c:6941) 2010-10-24 Nicola Pero PR objc/45735 * obj-c.dg/pr45735.mm: New. * obj-c++.dg/pr45735.mm: New. From-SVN: r165901 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 089f77c..9ee2d3c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2010-10-24 Nicola Pero + PR objc/45735 + * obj-c.dg/pr45735.mm: New. + * obj-c++.dg/pr45735.mm: New. + +2010-10-24 Nicola Pero + PR objc/24393 * objc.dg/pr24393.m: New. * obj-c++.dg/pr24393.mm: New. diff --git a/gcc/testsuite/obj-c++.dg/pr45735.mm b/gcc/testsuite/obj-c++.dg/pr45735.mm new file mode 100644 index 0000000..852ee25 --- /dev/null +++ b/gcc/testsuite/obj-c++.dg/pr45735.mm @@ -0,0 +1,4 @@ +/* { dg-compile } */ +@interface Fraction +-(void) setNumerator: (int) :(int) ; /* { dg-error "expected identifier" } */ +@end diff --git a/gcc/testsuite/objc.dg/pr45735.m b/gcc/testsuite/objc.dg/pr45735.m new file mode 100644 index 0000000..852ee25 --- /dev/null +++ b/gcc/testsuite/objc.dg/pr45735.m @@ -0,0 +1,4 @@ +/* { dg-compile } */ +@interface Fraction +-(void) setNumerator: (int) :(int) ; /* { dg-error "expected identifier" } */ +@end