llvm-project/clang/test/ARCMT/designated-init-in-header/header1.h

15 lines
230 B
Objective-C

#define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
@class NSString;
@interface B1
-(id)init;
@end
@interface S1 : B1
-(int)prop;
-(void)setProp:(int)p;
+(id)s1;
-(id)initWithFoo:(NSString*)foo;
@end