mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-28 16:01:00 +08:00
re PR objc/45735 (ICE in objc_add_method, at objc/objc-act.c:6941)
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. From-SVN: r165901
This commit is contained in:
parent
40d398e057
commit
a5cd07463d
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
4
gcc/testsuite/obj-c++.dg/pr45735.mm
Normal file
4
gcc/testsuite/obj-c++.dg/pr45735.mm
Normal file
@ -0,0 +1,4 @@
|
||||
/* { dg-compile } */
|
||||
@interface Fraction
|
||||
-(void) setNumerator: (int) :(int) ; /* { dg-error "expected identifier" } */
|
||||
@end
|
4
gcc/testsuite/objc.dg/pr45735.m
Normal file
4
gcc/testsuite/objc.dg/pr45735.m
Normal file
@ -0,0 +1,4 @@
|
||||
/* { dg-compile } */
|
||||
@interface Fraction
|
||||
-(void) setNumerator: (int) :(int) ; /* { dg-error "expected identifier" } */
|
||||
@end
|
Loading…
x
Reference in New Issue
Block a user