aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-04-22 22:09:21 +0000
committerTed Kremenek <kremenek@apple.com>2013-04-22 22:09:21 +0000
commit244e7e502de643864f779db57a660b6c413c4541 (patch)
tree425bea9c5e5240bc5618c8829f1fd36d0d115f07 /test/SemaObjC
parent734479a1638ee2573f74bfd8e1f82731e8efa683 (diff)
Rename this test to make it more general for including more tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC')
-rw-r--r--test/SemaObjC/deprecated-objc-introspection.m (renamed from test/SemaObjC/warn-isa-ref.m)8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/SemaObjC/warn-isa-ref.m b/test/SemaObjC/deprecated-objc-introspection.m
index b1ffb4fc90..6d67641a81 100644
--- a/test/SemaObjC/warn-isa-ref.m
+++ b/test/SemaObjC/deprecated-objc-introspection.m
@@ -1,4 +1,10 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple=x86_64-apple-darwin -fsyntax-only -verify %s
+
+//====------------------------------------------------------------====//
+// Test deprecated direct usage of the 'isa' pointer.
+//====------------------------------------------------------------====//
+
+typedef unsigned long NSUInteger;
typedef struct objc_object {
struct objc_class *isa;