]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ARCMT/assign-prop-no-arc-runtime.m
Vendor import of clang trunk r135360:
[FreeBSD/FreeBSD.git] / test / ARCMT / assign-prop-no-arc-runtime.m
1 // 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 -triple x86_64-apple-macosx10.6 -fobjc-nonfragile-abi -fsyntax-only %s > %t
3 // RUN: diff %t %s.result
4
5 #include "Common.h"
6
7 @interface Foo : NSObject {
8   NSObject *x;
9 }
10 @property (readonly,assign) id x;
11 @end
12
13 @implementation Foo
14 @synthesize x;
15 @end