1 // RUN: %clang_cc1 -x objective-c -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify %s
4 @interface NSArray @end
6 @interface NSMutableArray : NSArray
9 @interface GKTurnBasedMatchMakerKVO
10 @property(nonatomic,readonly,retain) NSArray* outline;
11 @property(nonatomic,readonly,retain) NSMutableArray* err_outline; // expected-note {{property declared here}}
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}}