diff options
Diffstat (limited to 'test/CodeGenCXX/debug-info-template-explicit-specialization.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-template-explicit-specialization.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp b/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp index 04c63ae2ff242..08146c25263b9 100644 --- a/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp +++ b/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp @@ -6,6 +6,11 @@ // LINES-ONLY-NOT: !DICompositeType(tag: DW_TAG_structure_type +// "h" is at the top because it's in the compile unit's retainedTypes: list. +// CHECK: DICompositeType(tag: DW_TAG_structure_type, name: "h<int>" +// CHECK-NOT: DIFlagFwdDecl +// CHECK-SAME: ){{$}} + template <typename T> struct a { }; @@ -85,9 +90,6 @@ template <typename T> struct h { }; template class h<int>; -// CHECK: DICompositeType(tag: DW_TAG_structure_type, name: "h<int>" -// CHECK-NOT: DIFlagFwdDecl -// CHECK-SAME: ){{$}} template <typename T> struct i { |