blob: 70ea8ace43de0816b6be7e21294af15de798d975 [file] [log] [blame]
/* Test -fsyntax-only compiler option */
/* { dg-do compile } */
/* { dg-options "-fsyntax-only" } */
#if defined(__has_attribute) && __has_attribute(objc_root_class)
__attribute__((objc_root_class))
#endif
@interface foo
-(void) my_method:(int) i with:(int) j;
@end
@implementation foo
-(void) my_method:(int) i with:(int) j { }
@end