1 ; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s
5 br label %exit, !dbg !DILocation(scope: !1, inlinedAt: !{})
6 ; CHECK: inlined-at should be a location
7 ; CHECK-NEXT: !{{[0-9]+}} = !DILocation(line: 0, scope: !{{[0-9]+}}, inlinedAt: ![[IA:[0-9]+]])
8 ; CHECK-NEXT: ![[IA]] = !{}
12 ; CHECK: invalid !dbg metadata attachment
13 ; CHECK-NEXT: ret void, !dbg ![[LOC:[0-9]+]]
14 ; CHECK-NEXT: ![[LOC]] = !{}
17 ; CHECK: warning: ignoring invalid debug info
18 !llvm.module.flags = !{!0}
19 !0 = !{i32 2, !"Debug Info Version", i32 3}
20 !1 = distinct !DISubprogram()