1 // RUN: %clang_cc1 -fobjc-exceptions -fblocks -fsyntax-only -fobjc-arc -x objective-c %s.result
2 // RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fobjc-exceptions -fblocks -fsyntax-only -x objective-c %s > %t
3 // RUN: diff %t %s.result
9 id IhaveSideEffect(void);
12 - (BOOL)isEqual:(id)object;
14 - (oneway void)release;
17 @interface NSObject <NSObject> {}
20 @interface Foo : NSObject {
23 @property (strong) id bar;
59 void block_test(Foo *p) {
60 id (^B)(void) = ^(void) {
62 id (^IB)(void) = ^(void) {
72 #define RELEASE_MACRO(x) [x release]
73 #define RELEASE_MACRO2(x) RELEASE_MACRO(x)
80 static id internal_var = 0;
82 + (void)setIt:(id)newone {
83 if (internal_var != newone) {
84 internal_var = newone;