blob: 635b9fec71d12f71fc5827a2443a4e8d3f901188 [file] [log] [blame]
Patrick Beardb2f68202012-04-06 18:12:22 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s
Fariborz Jahanian015f6082012-01-11 18:26:06 +00002// rdar:// 10558871
3
4@interface PP
5@property (readonly) id ReadOnlyPropertyNoBackingIvar;
6@property (readonly) id ReadOnlyProperty;
7@property (readonly) id ReadOnlyPropertyX;
8@end
9
10@implementation PP {
11__weak id _ReadOnlyProperty;
12}
13@synthesize ReadOnlyPropertyNoBackingIvar;
14@synthesize ReadOnlyProperty = _ReadOnlyProperty;
15@synthesize ReadOnlyPropertyX = _ReadOnlyPropertyX;
16@end