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