From 9fdd09a4ccd01feb8e00be22b17e944e46807746 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 18 Oct 2019 23:58:34 +0000 Subject: 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 llvm-svn: 375304 --- .../test/CodeGenCXX/debug-info-template-explicit-specialization.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp') diff --git a/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp b/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp index cd51b522505..4e41c4092bf 100644 --- a/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp +++ b/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp @@ -105,7 +105,12 @@ struct j { }; extern template class j; j jj; +template +struct j_wrap { +}; +j_wrap> j_wrap_j; // CHECK: DICompositeType(tag: DW_TAG_structure_type, name: "j" +// CHECK: DICompositeType(tag: DW_TAG_structure_type, name: "j_wrap >" template struct k { -- cgit v1.2.3