You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
458 B
15 lines
458 B
4 months ago
|
; RUN: not llvm-as -disable-output <%s 2>&1 | FileCheck %s
|
||
|
; CHECK: assembly parsed, but does not verify
|
||
|
; CHECK-NEXT: invalid file
|
||
|
|
||
|
define void @blah() !dbg !3 {
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
!llvm.module.flags = !{!0}
|
||
|
!0 = !{i32 2, !"Debug Info Version", i32 3}
|
||
|
!llvm.dbg.cu = !{!1}
|
||
|
!1 = distinct !DICompileUnit(file: !2, language: DW_LANG_C99)
|
||
|
!2 = !DIFile(filename: "file.c", directory: "/path/to/dir")
|
||
|
!3 = distinct !DISubprogram(name: "blah", file: !1, unit: !1)
|