1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
2 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
3 // RUN: diff %t %s.result
6 @property (retain) id x;
7 @property (retain) id y;
8 @property (retain) id w;
9 @property (retain) id z;
10 @property (strong) id q;
21 self.x = self.y = self.w = 0;
22 self.x = 0, w = 0, y = 0;
31 @property (retain) Foo *a;
32 - (void) setA:(Foo*) val;
38 [self setA:0]; // This is user-defined setter overriding synthesize, don't touch it.
39 self.a.x = 0; // every dealloc must zero out its own ivar. This patter is not recognized.
42 - (void) setA:(Foo*) val { }