blob: 566ff84e2d1e85e2ebe7d3550d8fdc6c76da5f0f [file] [log] [blame] [edit]
#import "property_test.h"
#import <Foundation/NSString.h>
#import <Foundation/NSArray.h>
@implementation PropertyInterface
static int32_t _classReadWriteProperty = 0;
- (int32_t)readOnlyProperty {
return 7;
}
+ (int32_t)classReadOnlyProperty {
return 42;
}
+ (int32_t)classReadWriteProperty {
return _classReadWriteProperty;
}
+ (void)setClassReadWriteProperty:(int32_t)x {
_classReadWriteProperty = x;
}
- (int32_t)instStaticSameName {
return 123;
}
+ (int32_t)instStaticSameName {
return 456;
}
+ (NSArray<NSString *> *)regressGH1268 {
return @[@"hello"];
}
@end