1 // This test will test the correstness of generating DILabel and
2 // llvm.dbg.label for labels.
4 // RUN: %clang_cc1 -emit-llvm %s -o - -emit-llvm -debug-info-kind=limited | FileCheck %s
10 // CHECK: call void @llvm.dbg.label(metadata [[LABEL_METADATA:!.*]]), !dbg [[LABEL_LOCATION:!.*]]
15 // CHECK: [[LABEL_METADATA]] = !DILabel({{.*}}, name: "top", {{.*}}, line: 9)
16 // CHECK: [[LABEL_LOCATION]] = !DILocation(line: 9,