1 ; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s
2 ; CHECK: invalid #dbg record expression
3 ; CHECK-NEXT: #dbg_declare({{.*}})
5 ; CHECK: warning: ignoring invalid debug info
7 define void @foo(i32 %a) {
10 #dbg_declare(ptr %s, !DILocalVariable(scope: !1), !{}, !DILocation(scope: !1))
14 !llvm.module.flags = !{!0}
15 !0 = !{i32 2, !"Debug Info Version", i32 3}
16 !1 = distinct !DISubprogram()