Add comment and source to testcase.
authorEric Christopher <echristo@gmail.com>
Mon, 12 Aug 2013 23:59:26 +0000 (23:59 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 12 Aug 2013 23:59:26 +0000 (23:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188234 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/template-recursive-void.ll

index 6af91ffc0580d58777fafe7758c8c3c6389e400a..32b7bf2c98c71c3abf40cdb6825fd1b44eeaff19 100644 (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