repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
ARCMT
/
migrate-emit-errors.m
blob
3e33acf75a591445b48f36b900f5dd23d25640f9
1
// RUN: %clang_cc1 -arcmt-action=migrate -mt-migrate-directory %t -arcmt-migrate-emit-errors %s 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'