summaryrefslogtreecommitdiff
path: root/test/FrontendObjC/2010-02-23-DbgInheritance.m
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-02-23 19:37:40 +0000
committerDevang Patel <dpatel@apple.com>2010-02-23 19:37:40 +0000
commitdf0732de65695a9b862a01eb98fa7cf02f5c7c4e (patch)
treec49dce004bc083ea0fd1410ad09c2518dc0af84d /test/FrontendObjC/2010-02-23-DbgInheritance.m
parent652b7e488d78fe4d3697d2aaf7734422650fd7d0 (diff)
downloadllvm-df0732de65695a9b862a01eb98fa7cf02f5c7c4e.tar.gz
llvm-df0732de65695a9b862a01eb98fa7cf02f5c7c4e.tar.bz2
llvm-df0732de65695a9b862a01eb98fa7cf02f5c7c4e.tar.xz
new test case for r96974.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendObjC/2010-02-23-DbgInheritance.m')
-rw-r--r--test/FrontendObjC/2010-02-23-DbgInheritance.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/FrontendObjC/2010-02-23-DbgInheritance.m b/test/FrontendObjC/2010-02-23-DbgInheritance.m
new file mode 100644
index 0000000000..7e1cf67b47
--- /dev/null
+++ b/test/FrontendObjC/2010-02-23-DbgInheritance.m
@@ -0,0 +1,9 @@
+// RUN: %llvmgcc %s -S -g -o - | grep -v DW_TAG_member
+// Interface P should not be a member of interface I in debug info.
+@interface P
+@end
+
+@interface I : P
+@end
+
+void fn(I *iptr) {}