diff options
author | no-author <no-author@gcc.gnu.org> | 2005-04-26 01:48:32 +0000 |
---|---|---|
committer | no-author <no-author@gcc.gnu.org> | 2005-04-26 01:48:32 +0000 |
commit | d9cd0cc8357d9529972a7544488cda02f44196e5 (patch) | |
tree | ff3a674d6883f23b5a0914a6249d9fc6c1af2ac4 /gcc/testsuite/objc.dg/extra-semi.m | |
parent | 5b5fcc5945558d32c619dd3047ae0ee16a6edd2f (diff) |
This commit was manufactured by cvs2svn to create tagapple/gcc-5012
'apple-gcc-5012'.
git-svn-id: https://gcc.gnu.org/svn/gcc/tags/apple-gcc-5012@98760 138bc75d-0d04-0410-961f-82ee72b054a4
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..96d31b806d0 --- /dev/null +++ b/gcc/testsuite/objc.dg/extra-semi.m @@ -0,0 +1,10 @@ +/* APPLE LOCAL file Objective-C++ */ +/* 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 |