1*9880d681SAndroid Build Coastguard Worker; RUN: not llvm-as -disable-output <%s 2>&1 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker; CHECK: invalid llvm.dbg.declare intrinsic variable 3*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @llvm.dbg.declare({{.*}}) 4*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: !"" 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdefine void @foo(i32 %a) { 7*9880d681SAndroid Build Coastguard Workerentry: 8*9880d681SAndroid Build Coastguard Worker %s = alloca i32 9*9880d681SAndroid Build Coastguard Worker call void @llvm.dbg.declare(metadata i32* %s, metadata !"", metadata !DIExpression()), !dbg !DILocation(scope: !1) 10*9880d681SAndroid Build Coastguard Worker ret void 11*9880d681SAndroid Build Coastguard Worker} 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.dbg.declare(metadata, metadata, metadata) 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Worker!llvm.module.flags = !{!0} 16*9880d681SAndroid Build Coastguard Worker!0 = !{i32 2, !"Debug Info Version", i32 3} 17*9880d681SAndroid Build Coastguard Worker!1 = distinct !DISubprogram() 18