]> granicus.if.org Git - clang/commitdiff
Rename this test to make it more general for including more tests.
authorTed Kremenek <kremenek@apple.com>
Mon, 22 Apr 2013 22:09:21 +0000 (22:09 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 22 Apr 2013 22:09:21 +0000 (22:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180056 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaObjC/deprecated-objc-introspection.m [moved from test/SemaObjC/warn-isa-ref.m with 88% similarity]

similarity index 88%
rename from test/SemaObjC/warn-isa-ref.m
rename to test/SemaObjC/deprecated-objc-introspection.m
index b1ffb4fc9008e4c871c949d58db9697f7882b148..6d67641a814c5908f24f743fe0c81f45ebf0255c 100644 (file)
@@ -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;