Add comment and source to testcase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188234 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2013-08-12 23:59:26 +00:00
parent dd0cd3c4f4
commit b58bddf258

View File

@ -3,6 +3,16 @@
; RUN: llc -O0 -filetype=obj < %s > %t
; RUN: llvm-dwarfdump %t | FileCheck %s
; This was pulled from clang's debug-info-template-recursive.cpp test.
; class base { };
; template <class T> class foo : public base {
; void operator=(const foo r) { }
; };
; class bar : public foo<void> { };
; bar filters;
; CHECK: DW_TAG_template_type_parameter [10]
; CHECK-NEXT: DW_AT_name{{.*}}"T"
; CHECK-NOT: DW_AT_type