[llvm] r188234 - Add comment and source to testcase.
Eric Christopher
echristo at gmail.com
Mon Aug 12 16:59:26 PDT 2013
Author: echristo
Date: Mon Aug 12 18:59:26 2013
New Revision: 188234
URL: http://llvm.org/viewvc/llvm-project?rev=188234&view=rev
Log:
Add comment and source to testcase.
Modified:
llvm/trunk/test/DebugInfo/template-recursive-void.ll
Modified: llvm/trunk/test/DebugInfo/template-recursive-void.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/template-recursive-void.ll?rev=188234&r1=188233&r2=188234&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/template-recursive-void.ll (original)
+++ llvm/trunk/test/DebugInfo/template-recursive-void.ll Mon Aug 12 18:59:26 2013
@@ -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
More information about the llvm-commits
mailing list