blob: 8d9f21115c5365c07f0a932b20ed748a5ca23ce8 [file] [log] [blame]
John McCall24fc0de2011-07-06 00:26:06 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -x objective-c %s.result
Argyrios Kyrtzidisbdf3ca92011-06-16 02:41:46 +00002// RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fobjc-nonfragile-abi -fsyntax-only %s > %t
John McCalld70fb982011-06-15 23:25:17 +00003// RUN: diff %t %s.result
4
5#include "Common.h"
6
7@interface Foo : NSObject {
8 NSObject *x, *w, *q1, *q2;
9 NSObject *z1, *__unsafe_unretained z2;
10}
11@property (readonly,assign) id x;
12@property (assign) id w;
13@property (assign) id q1, q2;
14@property (assign) id z1, z2;
15@end
16
17@implementation Foo
18@synthesize x,w,q1,q2,z1,z2;
19@end