1 ; RUN: not llvm-as -disable-output <%s 2>&1 | FileCheck %s
2 ; CHECK: invalid llvm.dbg.declare intrinsic expression
3 ; CHECK-NEXT: call void @llvm.dbg.declare({{.*}})
6 define void @foo(i32 %a) {
9 call void @llvm.dbg.declare(metadata i32* %s, metadata !DILocalVariable(scope: !1), metadata !"")
13 declare void @llvm.dbg.declare(metadata, metadata, metadata)
15 !llvm.module.flags = !{!0}
16 !0 = !{i32 2, !"Debug Info Version", i32 3}
17 !1 = distinct !DISubprogram()