aboutsummaryrefslogtreecommitdiff
path: root/test/ARCMT/assign-prop-with-arc-runtime.m.result
blob: c5e5854e9afcb274e10d05e08f5db3f2b2bc7bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.8 -fobjc-nonfragile-abi -fsyntax-only %s > %t
// RUN: diff %t %s.result

#include "Common.h"

@interface Foo : NSObject {
  NSObject *__weak x, *__weak w, *__weak q1, *__weak q2;
  NSObject *__unsafe_unretained z1, *__unsafe_unretained z2;
}
@property (readonly,weak) id x;
@property (weak) id w;
@property (weak) id q1, q2;
@property (assign) id z1, z2;
@end

@implementation Foo
@synthesize x,w,q1,q2,z1,z2;
@end