diff options
Diffstat (limited to 'clang/test/ARCMT/with-arc-mode-check.m')
-rw-r--r-- | clang/test/ARCMT/with-arc-mode-check.m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/ARCMT/with-arc-mode-check.m b/clang/test/ARCMT/with-arc-mode-check.m new file mode 100644 index 0000000..33f31f5 --- /dev/null +++ b/clang/test/ARCMT/with-arc-mode-check.m @@ -0,0 +1,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]; +} |