aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-03-22 18:27:27 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-03-22 18:27:27 +0000
commitfda055896547185dc7145046ccf0c66f3ad4e71e (patch)
treee1af3264d4175f2b203c14ef962303fc34fb1ad5
parent3bfacdf6f0706987c1b33c625cd68fb880881c22 (diff)
Test for my last patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99194 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGenObjC/objc2-nonfragile-abi-impl.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGenObjC/objc2-nonfragile-abi-impl.m b/test/CodeGenObjC/objc2-nonfragile-abi-impl.m
new file mode 100644
index 0000000000..ff943303b7
--- /dev/null
+++ b/test/CodeGenObjC/objc2-nonfragile-abi-impl.m
@@ -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
+