John McCall | 24fc0de | 2011-07-06 00:26:06 +0000 | [diff] [blame^] | 1 | // 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 Kyrtzidis | bdf3ca9 | 2011-06-16 02:41:46 +0000 | [diff] [blame] | 2 | // RUN: arcmt-test --args -triple x86_64-apple-macosx10.7 -fobjc-nonfragile-abi -fsyntax-only %s > %t |
John McCall | d70fb98 | 2011-06-15 23:25:17 +0000 | [diff] [blame] | 3 | // 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 |