aboutsummaryrefslogtreecommitdiff
path: root/test/ARCMT/with-arc-mode-migrate.m
blob: 32bcad1950422124a5fa9e3756142143be450d3f (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 -arcmt-migrate-directory %t -fsyntax-only -fobjc-arc %s
// RUN: c-arcmt-test -arcmt-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];
}