blob: 182b1c47bb39269f1609e02fe1182714ed70829e [file] [log] [blame]
Fariborz Jahanian50efe042009-04-06 16:59:10 +00001// RUN: clang-cc -fsyntax-only -verify %s
2
3@interface MessageStore
4@property (assign, readonly) int P;
5@end
6
7@interface MessageStore (CAT)
8@property (assign) int P;
9@end
10
11@interface NeXTMbox : MessageStore
12@end
13
14@implementation NeXTMbox
15- (void) Meth { self.P = 1; }
16@end
17