summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/2007-10-18-ProDescriptor.m
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-08-20 00:37:56 +0000
committerEric Christopher <echristo@apple.com>2011-08-20 00:37:56 +0000
commitfde9786b449f478d2cd324931c808b06f0a707ca (patch)
treefebd67c0955336a7c26101fe200cdb6ae9c4ac0e /clang/test/CodeGenObjC/2007-10-18-ProDescriptor.m
parentd6641af80c02c2cebdd9c69e26539ed86e0dd98a (diff)
downloadbcm5719-llvm-fde9786b449f478d2cd324931c808b06f0a707ca.tar.gz
bcm5719-llvm-fde9786b449f478d2cd324931c808b06f0a707ca.zip
Migrate, FileCheckize and update:
2007-04-03-ObjcEH.m 2007-05-02-Strong.m 2007-10-18-ProDescriptor.m 2007-10-23-GC-WriteBarrier.m 2008-10-3-EhValue.m 2008-11-12-Metadata.m 2008-11-24-ConstCFStrings.m from llvm/test/FrontendObjC. llvm-svn: 138172
Diffstat (limited to 'clang/test/CodeGenObjC/2007-10-18-ProDescriptor.m')
-rw-r--r--clang/test/CodeGenObjC/2007-10-18-ProDescriptor.m18
1 files changed, 18 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/2007-10-18-ProDescriptor.m b/clang/test/CodeGenObjC/2007-10-18-ProDescriptor.m
new file mode 100644
index 00000000000..35a0df3a1a9
--- /dev/null
+++ b/clang/test/CodeGenObjC/2007-10-18-ProDescriptor.m
@@ -0,0 +1,18 @@
+// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
+@protocol O
+@end
+@interface O < O > {
+}
+@end
+struct A {
+};
+@protocol AB
+- (unsigned) ver;
+@end
+@interface AGy:O < AB > {
+}
+@end
+@implementation AGy
+- (unsigned) ver {
+}
+@end
OpenPOWER on IntegriCloud