1 // RUN: %clang_cc1 -triple i386-unknown-windows-msvc -std=c++11 -emit-llvm -debug-info-kind=line-tables-only %s -o - | FileCheck %s 2 // RUN: %clang_cc1 -triple i386-unknown-windows-msvc -std=c++11 -emit-llvm -debug-info-kind=line-directives-only %s -o - | FileCheck %s 3 4 struct A { ~AA5 virtual ~A() {} 6 }; 7 8 struct B { ~BB9 virtual ~B() {} 10 }; 11 12 template<typename T> 13 struct AB: A, B { 14 }; 15 16 template struct AB<int>; 17 18 // CHECK: define {{.*}}@"??_E?$AB@H@@W3AEPAXI@Z"({{.*}} !dbg [[THUNK_VEC_DEL_DTOR:![0-9]*]] 19 // CHECK: call {{.*}}@"??_G?$AB@H@@UAEPAXI@Z"({{.*}}) #{{[0-9]*}}, !dbg [[THUNK_LOC:![0-9]*]] 20 // CHECK: define 21 22 // CHECK: [[THUNK_VEC_DEL_DTOR]] = distinct !DISubprogram 23 // CHECK: [[THUNK_LOC]] = !DILocation(line: 0, scope: [[THUNK_VEC_DEL_DTOR]]) 24