OSDN Git Service

PR c++/49042
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / obj-c++.dg / extra-semi.mm
1 /* Allow extra semicolons in between method declarations,
2    for old times' sake.  */
3
4 /* { dg-do compile } */
5
6 @interface Foo
7    -(Foo *) expiration;
8    -(void) setExpiration:(Foo *) date;;
9    -(int) getVersion;
10 @end