16 lines · plain
1; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s2; CHECK: line specified with no file3; CHECK: warning: ignoring invalid debug info4 5define void @foo() !dbg !3 {6 ret void7}8 9!llvm.module.flags = !{!0}10!llvm.dbg.cu = !{!1}11 12!0 = !{i32 2, !"Debug Info Version", i32 3}13!1 = distinct !DICompileUnit(language: DW_LANG_C, file: !2)14!2 = !DIFile(filename: "foo.c", directory: "")15!3 = distinct !DISubprogram(name: "foo", scope: !1, line: 1, unit: !1)16