Home | History | Annotate | Download | only in ARCMT
      1 // RUN: %clang_cc1 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result
      2 // RUN: %clang_cc1 -arcmt-migrate -arcmt-migrate-directory %t -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc %s
      3 // RUN: c-arcmt-test -arcmt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
      4 // RUN: rm -rf %t
      5 
      6 @protocol NSObject
      7 - (oneway void)release;
      8 @end
      9 
     10 void test1(id p) {
     11   [p release];
     12 }
     13