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 4 // DISABLE: mingw32 5 6 @interface A 7 - (id)retain; 8 - (id)autorelease; 9 - (oneway void)release; 10 - (void)dealloc; 11 @end 12 13 void test1(A *a) { 14 } 15 16 @interface Test2 : A 17 - (void) dealloc; 18 @end 19 20 @implementation Test2 21 @end 22