1 // RUN: %clang_cc1 %s -debug-info-kind=line-tables-only -emit-llvm -o - | FileCheck %s
2 // RUN: %clang_cc1 %s -debug-info-kind=line-directives-only -emit-llvm -o - | FileCheck %s
3 // Checks that clang with "-gline-tables-only" or "-gline-directives-only" emits metadata for
4 // compile unit, subprogram and file.
7 // CHECK: ret i32 0, !dbg
11 // CHECK: !llvm.dbg.cu = !{!0}
12 // CHECK: !DICompileUnit(
13 // CHECK: !DISubprogram(