| 1 |
// RUN: %clang_cc1 -x objective-c -fsyntax-only -verify %s |
| 2 |
// RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify %s |
| 3 |
|
| 4 |
@interface NSArray @end |
| 5 |
|
| 6 |
@interface NSMutableArray : NSArray |
| 7 |
@end |
| 8 |
|
| 9 |
@interface GKTurnBasedMatchMakerKVO |
| 10 |
@property(nonatomic,readonly,retain) NSArray* outline; |
| 11 |
@property(nonatomic,readonly,retain) NSMutableArray* err_outline; // expected-note {{property declared here}} |
| 12 |
@end |
| 13 |
|
| 14 |
@interface GKTurnBasedMatchMakerKVO () |
| 15 |
@property(nonatomic,readwrite,retain) NSMutableArray* outline; |
| 16 |
@property(nonatomic,readwrite,retain) NSArray* err_outline; // expected-error {{type of property 'NSArray *' in class extension does not match property type in primary class}} |
| 17 |
@end |
| 18 |
|