blob: 117c6d53f18efa0420e15dfc3e158098257d7984 [file] [log] [blame] [edit]
#import <Foundation/NSObject.h>
@class UndefinedTemplate<ObjectType>;
@interface PropertyInterface : NSObject {
}
@property (readonly) int32_t readOnlyProperty;
@property int32_t readWriteProperty;
@property (class, readonly, copy) UndefinedTemplate<NSString *> *regressGH436;
@property (class, readonly) int32_t classReadOnlyProperty;
@property (class) int32_t classReadWriteProperty;
@end
@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;
}
@end