1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
12 lines
276 B
Objective-C
12 lines
276 B
Objective-C
// RUN: %clang_cc1 -arcmt-migrate -mt-migrate-directory %t -arcmt-migrate-emit-errors %s 2>&1 | FileCheck %s
|
|
// RUN: rm -rf %t
|
|
|
|
@protocol NSObject
|
|
- (oneway void)release;
|
|
@end
|
|
|
|
void test(id p) {
|
|
[p release];
|
|
}
|
|
|
|
// CHECK: error: ARC forbids explicit message send of 'release' |