diff options
Diffstat (limited to 'clang/test/CodeGenObjC/2010-02-23-DbgInheritance.m')
-rw-r--r-- | clang/test/CodeGenObjC/2010-02-23-DbgInheritance.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/2010-02-23-DbgInheritance.m b/clang/test/CodeGenObjC/2010-02-23-DbgInheritance.m new file mode 100644 index 0000000..7d31b30 --- /dev/null +++ b/clang/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) {} |