aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendObjC
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-11-13 04:09:04 +0000
committerBill Wendling <isanbard@gmail.com>2008-11-13 04:09:04 +0000
commit241085aa3875edd7eaddd235dd9f535e967aaed4 (patch)
tree4430da18609e81b067529f1f875078e6365470d5 /test/FrontendObjC
parentbf5db817f4f66701f3efd7c7ae001cc36f825086 (diff)
downloadexternal_llvm-241085aa3875edd7eaddd235dd9f535e967aaed4.zip
external_llvm-241085aa3875edd7eaddd235dd9f535e967aaed4.tar.gz
external_llvm-241085aa3875edd7eaddd235dd9f535e967aaed4.tar.bz2
Added testcase for r59214.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendObjC')
-rw-r--r--test/FrontendObjC/2008-11-12-Metadata.m14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/FrontendObjC/2008-11-12-Metadata.m b/test/FrontendObjC/2008-11-12-Metadata.m
new file mode 100644
index 0000000..7e9f028
--- /dev/null
+++ b/test/FrontendObjC/2008-11-12-Metadata.m
@@ -0,0 +1,14 @@
+// RUN: %llvmgcc -x objective-c -m64 -c %s -o /dev/null
+
+@interface A
+@end
+@protocol P
+@end
+@interface B : A <P>
+{
+}
+@end
+@implementation B
+- (void)test {
+}
+@end