summaryrefslogtreecommitdiff
path: root/clang/test/ARCMT/with-arc-mode-modify.m.result
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/ARCMT/with-arc-mode-modify.m.result')
-rw-r--r--clang/test/ARCMT/with-arc-mode-modify.m.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/ARCMT/with-arc-mode-modify.m.result b/clang/test/ARCMT/with-arc-mode-modify.m.result
new file mode 100644
index 0000000..631f276
--- /dev/null
+++ b/clang/test/ARCMT/with-arc-mode-modify.m.result
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -x objective-c %s.result
+// RUN: cp %s %t
+// RUN: %clang_cc1 -arcmt-modify -fsyntax-only -fobjc-arc -x objective-c %t
+// RUN: diff %t %s.result
+// RUN: rm %t
+
+@protocol NSObject
+- (oneway void)release;
+@end
+
+void test1(id p) {
+}