aboutsummaryrefslogtreecommitdiff
path: root/test/ARCMT/api.m.result
diff options
context:
space:
mode:
Diffstat (limited to 'test/ARCMT/api.m.result')
-rw-r--r--test/ARCMT/api.m.result9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ARCMT/api.m.result b/test/ARCMT/api.m.result
new file mode 100644
index 0000000000..bd9c6a3195
--- /dev/null
+++ b/test/ARCMT/api.m.result
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result
+// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -x objective-c %s > %t
+// RUN: diff %t %s.result
+
+#include "Common.h"
+
+void test(NSObject *o) {
+ NSZone *z = nil;
+}