summaryrefslogtreecommitdiff
path: root/clang/test/ARCMT/with-arc-mode-migrate.m
blob: 468859478eb0fd56a8a1402745f88516da787c07 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: rm -rf %t
// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -x objective-c %s.result
// RUN: %clang_cc1 -arcmt-migrate -mt-migrate-directory %t -fsyntax-only -fobjc-arc %s
// RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
// RUN: rm -rf %t

@protocol NSObject
- (oneway void)release;
@end

void test1(id p) {
  [p release];
}