summaryrefslogtreecommitdiffstats
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
commitd6e8f832284b7ad871288474800b46de3149b27b (patch)
tree725da12768a4dc9f7d532dd288b4c64c29e4c142
parentcede3db5ea930d61c89d736e7fed59ab6bea26d7 (diff)
downloadbcm5719-llvm-d6e8f832284b7ad871288474800b46de3149b27b.tar.gz
bcm5719-llvm-d6e8f832284b7ad871288474800b46de3149b27b.zip
Add comment and source to testcase.
llvm-svn: 188234
-rw-r--r--llvm/test/DebugInfo/template-recursive-void.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/template-recursive-void.ll b/llvm/test/DebugInfo/template-recursive-void.ll
index 6af91ffc058..32b7bf2c98c 100644
--- a/llvm/test/DebugInfo/template-recursive-void.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud