1 // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
13 @property (readwrite, strong) NSArray *names1; // <-- warning: Type of property....
14 - (void)setNames1:(NSArray *)names;
15 @property (readwrite, strong) __strong NSArray *names2; // <-- warning: Type of property....
16 - (void)setNames2:(NSArray *)names;
17 @property (readwrite, strong) __strong NSArray *names3; // <-- OK
18 - (void)setNames3:(__strong NSArray *)names;
19 @property (readwrite, strong) NSArray *names4; // <-- warning: Type of property....
20 - (void)setNames4:(__strong NSArray *)names;
24 @implementation MyClass2
25 - (NSArray *)names1 { return _names1; }
26 - (void)setNames1:(NSArray *)names {}
27 - (NSArray *)names2 { return _names2; }
28 - (void)setNames2:(NSArray *)names {}
29 - (NSArray *)names3 { return _names3; }
30 - (void)setNames3:(__strong NSArray *)names {}
31 - (NSArray *)names4 { return _names4; }
32 - (void)setNames4:(__strong NSArray *)names {}