aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/2008-11-12-Metadata.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/2008-11-12-Metadata.m')
-rw-r--r--test/CodeGenObjC/2008-11-12-Metadata.m14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CodeGenObjC/2008-11-12-Metadata.m b/test/CodeGenObjC/2008-11-12-Metadata.m
new file mode 100644
index 000000000000..afd7ce035aea
--- /dev/null
+++ b/test/CodeGenObjC/2008-11-12-Metadata.m
@@ -0,0 +1,14 @@
+// RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin -fobjc-fragile-abi %s -o /dev/null
+
+@interface A
+@end
+@protocol P
+@end
+@interface B : A <P>
+{
+}
+@end
+@implementation B
+- (void)test {
+}
+@end