Justin Bogner | efc3fbf | 2017-02-17 23:57:42 +0000 | [diff] [blame] | 1 | ; 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 | |
| 5 | define 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) |