summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-08-12 23:59:26 +0000
committerEric Christopher <echristo@gmail.com>2013-08-12 23:59:26 +0000
commitb58bddf258e9fb0e087c7acfa7946126c63d5a86 (patch)
tree5e0c9a546e8b8ffd15a1056b768819c5c972c85c
parentdd0cd3c4f468b55651bf33240667881bbed8d04c (diff)
downloadllvm-b58bddf258e9fb0e087c7acfa7946126c63d5a86.tar.gz
llvm-b58bddf258e9fb0e087c7acfa7946126c63d5a86.tar.bz2
llvm-b58bddf258e9fb0e087c7acfa7946126c63d5a86.tar.xz
Add comment and source to testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188234 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/DebugInfo/template-recursive-void.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/DebugInfo/template-recursive-void.ll b/test/DebugInfo/template-recursive-void.ll
index 6af91ffc05..32b7bf2c98 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 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