aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/2010-02-23-DbgInheritance.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/2010-02-23-DbgInheritance.m')
-rw-r--r--test/CodeGenObjC/2010-02-23-DbgInheritance.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGenObjC/2010-02-23-DbgInheritance.m b/test/CodeGenObjC/2010-02-23-DbgInheritance.m
new file mode 100644
index 000000000000..7d31b30cce5f
--- /dev/null
+++ b/test/CodeGenObjC/2010-02-23-DbgInheritance.m
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -emit-llvm %s -g -o - | FileCheck %s
+// CHECK-NOT: 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) {}