diff options
author | Eric Christopher <echristo@gmail.com> | 2013-08-12 23:59:26 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-08-12 23:59:26 +0000 |
commit | b58bddf258e9fb0e087c7acfa7946126c63d5a86 (patch) | |
tree | 5e0c9a546e8b8ffd15a1056b768819c5c972c85c | |
parent | dd0cd3c4f468b55651bf33240667881bbed8d04c (diff) | |
download | external_llvm-b58bddf258e9fb0e087c7acfa7946126c63d5a86.zip external_llvm-b58bddf258e9fb0e087c7acfa7946126c63d5a86.tar.gz external_llvm-b58bddf258e9fb0e087c7acfa7946126c63d5a86.tar.bz2 |
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.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/DebugInfo/template-recursive-void.ll b/test/DebugInfo/template-recursive-void.ll index 6af91ff..32b7bf2 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 |