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