]> granicus.if.org Git - clang/commitdiff
Test for my last patch.
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 22 Mar 2010 18:27:27 +0000 (18:27 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 22 Mar 2010 18:27:27 +0000 (18:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99194 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/objc2-nonfragile-abi-impl.m [new file with mode: 0644]

diff --git a/test/CodeGenObjC/objc2-nonfragile-abi-impl.m b/test/CodeGenObjC/objc2-nonfragile-abi-impl.m
new file mode 100644 (file)
index 0000000..ff94330
--- /dev/null
@@ -0,0 +1,15 @@
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi2 -emit-llvm -o %t %s
+// rdar://7547942.
+
+@interface Base @end
+
+@interface Sub1 : Base @end
+
+@implementation Sub1 @end
+
+@implementation Base { 
+@private 
+  id ivar; 
+} 
+@end
+