[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / clang / test / SemaObjC / narrow-property-type-in-cont-class.m
blob0f73b1e8f02fa929cf328d6eb4bdace3d0d2e48a
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
5 @interface NSArray @end
7 @interface NSMutableArray : NSArray
8 @end
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
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