aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendObjC/2008-11-12-Metadata.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendObjC/2008-11-12-Metadata.m')
-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