diff options
Diffstat (limited to 'gcc/testsuite/objc.dg/extra-semi.m')
-rw-r--r-- | gcc/testsuite/objc.dg/extra-semi.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/objc.dg/extra-semi.m b/gcc/testsuite/objc.dg/extra-semi.m new file mode 100644 index 00000000000..ad555962dbb --- /dev/null +++ b/gcc/testsuite/objc.dg/extra-semi.m @@ -0,0 +1,10 @@ +/* Allow extra semicolons in between method declarations, + for old times' sake. */ + +/* { dg-do compile } */ + +@interface Foo + -(Foo *) expiration; + -(void) setExpiration:(Foo *) date;; + -(int) getVersion; +@end |