aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/extra-semi.mm
blob: ad555962dbbc87687891fc540a8111c8d3ec6f8d (plain)
1
2
3
4
5
6
7
8
9
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