From b58bddf258e9fb0e087c7acfa7946126c63d5a86 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 12 Aug 2013 23:59:26 +0000 Subject: [PATCH] Add comment and source to testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188234 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/DebugInfo/template-recursive-void.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/DebugInfo/template-recursive-void.ll b/test/DebugInfo/template-recursive-void.ll index 6af91ffc058..32b7bf2c98c 100644 --- a/test/DebugInfo/template-recursive-void.ll +++ b/test/DebugInfo/template-recursive-void.ll @@ -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 foo : public base { +; void operator=(const foo r) { } +; }; + +; class bar : public foo { }; +; bar filters; + ; CHECK: DW_TAG_template_type_parameter [10] ; CHECK-NEXT: DW_AT_name{{.*}}"T" ; CHECK-NOT: DW_AT_type -- 2.34.1