1 ; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s
2 ; CHECK: invalid llvm.dbg.value intrinsic variable
3 ; CHECK-NEXT: call void @llvm.dbg.value({{.*}})
5 ; CHECK: warning: ignoring invalid debug info
7 define void @foo(i32 %a) {
10 call void @llvm.dbg.value(metadata ptr %s, i64 0, metadata !"", metadata !DIExpression()), !dbg !DILocation(scope: !1)
14 declare void @llvm.dbg.value(metadata, i64, metadata, metadata)
16 !llvm.module.flags = !{!0}
17 !0 = !{i32 2, !"Debug Info Version", i32 3}
18 !1 = distinct !DISubprogram()