diff options
author | David Blaikie <dblaikie@gmail.com> | 2019-10-18 23:58:34 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2019-10-18 23:58:34 +0000 |
commit | 3b03365d5fddd6485581747d7a7ba1799d94241f (patch) | |
tree | dd010c8f7111ead0a7138dd8041c1110b27480b9 /test | |
parent | 7000556ec0f00c6c96211b4e5c82032476f37cb5 (diff) | |
download | clang-3b03365d5fddd6485581747d7a7ba1799d94241f.tar.gz |
DebugInfo: Render the canonical name of a class template specialization, even when nested in another class template specialization
Differential Revision: https://reviews.llvm.org/D63031
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGenCXX/debug-info-template-explicit-specialization.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp b/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp index cd51b52250..4e41c4092b 100644 --- a/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp +++ b/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp @@ -105,7 +105,12 @@ struct j { }; extern template class j<int>; j<int> jj; +template <typename T> +struct j_wrap { +}; +j_wrap<j<int>> j_wrap_j; // CHECK: DICompositeType(tag: DW_TAG_structure_type, name: "j<int, int>" +// CHECK: DICompositeType(tag: DW_TAG_structure_type, name: "j_wrap<j<int, int> >" template <typename T> struct k { |