YouCompleteMe/cpp/llvm/tools/clang/test/ARCMT/with-arc-mode-check.m

10 lines
161 B
Mathematica
Raw Normal View History

// RUN: %clang_cc1 -arcmt-check -fsyntax-only -fobjc-arc -x objective-c %s
@protocol NSObject
- (oneway void)release;
@end
void test1(id p) {
[p release];
}