2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2009-04-07 00:59:10 +08:00
|
|
|
|
|
|
|
@interface MessageStore
|
|
|
|
@property (assign, readonly) int P;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface MessageStore (CAT)
|
|
|
|
@property (assign) int P;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface NeXTMbox : MessageStore
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation NeXTMbox
|
|
|
|
- (void) Meth { self.P = 1; }
|
|
|
|
@end
|
|
|
|
|