diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/obj-c++.dg/pr45735.mm | 4 | ||||
-rw-r--r-- | gcc/testsuite/objc.dg/pr45735.m | 4 |
3 files changed, 14 insertions, 0 deletions
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 <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. 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 |