1 // RUN: %clang_cc1 -fsyntax-only -verify -Weverything %s
2 // expected-no-diagnostics
6 @interface NSObject @end
8 @interface MyClass : NSObject
10 @property (nonatomic, copy, readonly) NSString* name;
14 @interface MyClass () {
18 @property (nonatomic, copy) NSString* name;
22 @implementation MyClass
24 @synthesize name = _name;