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