aboutsummaryrefslogtreecommitdiff
path: root/test/Verifier/dbg-null-retained-type.ll
blob: 1e3565d5ae3d33ebf27cf0bd3d7ea0b9eca3c240 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s
; CHECK: invalid retained type
; CHECK: warning: ignoring invalid debug info

!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, retainedTypes: !3)
!2 = !DIFile(filename: "file.c", directory: "/path/to/dir")
!3 = !{null}