1; RUN: llc -debug -dag-dump-verbose < %s 2>&1 | FileCheck %s
2; REQUIRES: asserts
3
4; CHECK: t{{[0-9]+}}: i32 = Constant<-1>test.c:4:5
5
6define i32 @main() !dbg !4 {
7entry:
8  %retval = alloca i32, align 4
9  store i32 0, i32* %retval
10  ret i32 -1, !dbg !10
11}
12
13!llvm.dbg.cu = !{!0}
14!llvm.module.flags = !{!8, !9}
15
16!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "", isOptimized: false, emissionKind: FullDebug)
17!1 = !DIFile(filename: "test.c", directory: "/home/user/clang-llvm/build")
18!2 = !{}
19!4 = distinct !DISubprogram(name: "main", scope: !1, file: !1, line: 2, type: !5, isLocal: false, isDefinition: true, scopeLine: 3, flags: DIFlagPrototyped, isOptimized: false, unit: !0, variables: !2)
20!5 = !DISubroutineType(types: !6)
21!6 = !{!7}
22!7 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
23!8 = !{i32 2, !"Dwarf Version", i32 4}
24!9 = !{i32 2, !"Debug Info Version", i32 3}
25!10 = !DILocation(line: 4, column: 5, scope: !4)
26