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