summaryrefslogtreecommitdiff
path: root/clang/test/ARCMT/with-arc-mode-check.m
blob: 33f31f522a58536387eb2259ffedd002f9a2cf84 (about) (plain)
1
2
3
4
5
6
7
8
9
// 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];
}