summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/2007-10-18-ProDescriptor.m
diff options
context:
space:
mode:
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 0000000..35a0df3
--- /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