You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
284 B
13 lines
284 B
4 months ago
|
// RUN: %clang_cc1 -arcmt-action=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'
|