Home | History | Annotate | Download | only in ARCMT
      1 // RUN: %clang_cc1 -arcmt-migrate -arcmt-migrate-directory %t -arcmt-migrate-emit-errors %s -fobjc-nonfragile-abi 2>&1 | FileCheck %s
      2 // RUN: rm -rf %t
      3 
      4 @protocol NSObject
      5 - (oneway void)release;
      6 @end
      7 
      8 void test(id p) {
      9   [p release];
     10 }
     11 
     12 // CHECK: error: ARC forbids explicit message send of 'release'