xref: /llvm-project/clang/test/ARCMT/assign-prop-no-arc-runtime.m (revision 9b0a7cea0f5bb2d3197ff33734cc5411ea793e10)
1*9b0a7ceaSJohn McCall// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
2*9b0a7ceaSJohn McCall// RUN: arcmt-test --args -triple x86_64-apple-macosx10.6 -fsyntax-only %s > %t
3d70fb981SJohn McCall// RUN: diff %t %s.result
4d70fb981SJohn McCall
5d70fb981SJohn McCall#include "Common.h"
6d70fb981SJohn McCall
7d70fb981SJohn McCall@interface Foo : NSObject {
8d70fb981SJohn McCall  NSObject *x;
9d70fb981SJohn McCall}
10d70fb981SJohn McCall@property (readonly,assign) id x;
11d70fb981SJohn McCall@end
12d70fb981SJohn McCall
13d70fb981SJohn McCall@implementation Foo
14d70fb981SJohn McCall@synthesize x;
15d70fb981SJohn McCall@end
16