blob: 86f5fbb616a1b9dc0f29f11fc7d9c7fdf8776d6c [file] [log] [blame]
John McCalld70fb982011-06-15 23:25:17 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result
2// RUN: arcmt-test --args -arch x86_64 %s -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 > %t
3// RUN: diff %t %s.result
4// RUN: arcmt-test --args -arch x86_64 %s -miphoneos-version-min=5.0 > %t
5// RUN: diff %t %s.result
6// RUN: arcmt-test --args -arch x86_64 %s -mmacosx-version-min=10.7 > %t
7// RUN: diff %t %s.result
8
9#include "Common.h"
10
11@interface Foo : NSObject {
12 NSObject *x, *w, *q1, *q2;
13 NSObject *z1, *__unsafe_unretained z2;
14}
15@property (readonly,assign) id x;
16@property (assign) id w;
17@property (assign) id q1, q2;
18@property (assign) id z1, z2;
19@end
20
21@implementation Foo
22@synthesize x,w,q1,q2,z1,z2;
23@end