blob: 4d5725959ef1484cfd48d9e0d8a0c14de0473663 [file] [log] [blame]
Justin Bognerefc3fbf2017-02-17 23:57:42 +00001; RUN: not llvm-as -disable-output <%s 2>&1 | FileCheck %s
2; CHECK: assembly parsed, but does not verify
3; CHECK: line specified with no file
4
5define void @foo() !dbg !3 {
6 ret void
7}
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)