1 ; RUN: llvm-as -disable-output <%s 2>&1| FileCheck %s
3 ; CHECK: BlockByRef variable without complex expression
4 ; CHECK: warning: ignoring invalid debug info
9 call void @llvm.dbg.declare(metadata i32* %s, metadata !2, metadata !DIExpression()), !dbg !DILocation(scope: !1)
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()
18 !2 = !DILocalVariable(scope: !1, type: !3)
19 !3 = !DICompositeType(tag: DW_TAG_structure_type, flags: DIFlagBlockByrefStruct)