1 // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s
2 // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s
3 // expected-no-diagnostics
7 @property (readonly) id ReadOnlyPropertyNoBackingIvar;
8 @property (readonly) id ReadOnlyProperty;
9 @property (readonly) id ReadOnlyPropertyX;
13 __weak id _ReadOnlyProperty;
15 @synthesize ReadOnlyPropertyNoBackingIvar;
16 @synthesize ReadOnlyProperty = _ReadOnlyProperty;
17 @synthesize ReadOnlyPropertyX = _ReadOnlyPropertyX;
21 @property (readonly) id ReadOnlyProperty;
22 @property (readonly) id ReadOnlyPropertyStrong;
23 @property (readonly) id ReadOnlyPropertyNoBackingIvar;
27 __weak id _ReadOnlyProperty;
28 __strong id _ReadOnlyPropertyStrong;