1 // RUN: %clang_cc1 -fblocks -fsyntax-only -fobjc-arc -x objective-c %s.result
2 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fblocks -fsyntax-only -x objective-c %s > %t
3 // RUN: diff %t %s.result
7 id IhaveSideEffect(void);
9 @interface Foo : NSObject {
12 @property (retain) id bar;
17 #define Something_Macro(key, comment) \
33 [Something_Macro(@"foo", "@bar") retain];
35 [IhaveSideEffect() retain];
37 [[self something] retain];
39 [[self retain] something];
41 [[IhaveSideEffect() retain] release];
51 return ((([x retain])));
60 void block_tests(Foo *p) {
61 id (^B)(void) = ^(void) {
63 id (^IB)(void) = ^(void) {