1 // RUN: %clang_cc1 -g -emit-llvm %s -o - | FileCheck %s 2 3 struct C { 4 ~C(); 5 }; 6 extern bool b; 7 // CHECK: call {{.*}}, !dbg [[DTOR_CALL_LOC:![0-9]*]] 8 // CHECK: [[FUN4:.*]] = {{.*}}; [ DW_TAG_subprogram ] {{.*}} [def] [fun4] 9 // CHECK: [[DTOR_CALL_LOC]] = metadata !{i32 [[@LINE+2]], i32 0, metadata [[FUN4_BLOCK:.*]], null} 10 // CHECK: [[FUN4_BLOCK]] = metadata !{{{[^,]*}}, {{[^,]*}}, metadata [[FUN4]], 11 void fun4() { b && (C(), 1); } 12