aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendObjC
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-10-19 01:28:02 +0000
committerDevang Patel <dpatel@apple.com>2007-10-19 01:28:02 +0000
commit95cf196d1583e04fc217cd8ed1a997c1544c99b0 (patch)
tree66781e2a30f30168b426e8303a2da039fd0f7f25 /test/FrontendObjC
parent1851898e757008228453aa3f4e3e06bbaecce04d (diff)
downloadexternal_llvm-95cf196d1583e04fc217cd8ed1a997c1544c99b0.zip
external_llvm-95cf196d1583e04fc217cd8ed1a997c1544c99b0.tar.gz
external_llvm-95cf196d1583e04fc217cd8ed1a997c1544c99b0.tar.bz2
New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendObjC')
-rw-r--r--test/FrontendObjC/2007-10-18-ProDescriptor.ll19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/FrontendObjC/2007-10-18-ProDescriptor.ll b/test/FrontendObjC/2007-10-18-ProDescriptor.ll
new file mode 100644
index 0000000..e87a43f
--- /dev/null
+++ b/test/FrontendObjC/2007-10-18-ProDescriptor.ll
@@ -0,0 +1,19 @@
+// RUN: %llvmgcc -x objective-c -c %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
+