1*9880d681SAndroid Build Coastguard Worker; RUN: not llvm-as -disable-output <%s 2>&1 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Workerdefine void @foo() { 4*9880d681SAndroid Build Coastguard Workerentry: 5*9880d681SAndroid Build Coastguard Worker br label %exit, !dbg !DILocation(scope: !1, inlinedAt: !{}) 6*9880d681SAndroid Build Coastguard Worker; CHECK: inlined-at should be a location 7*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: !{{[0-9]+}} = !DILocation(line: 0, scope: !{{[0-9]+}}, inlinedAt: ![[IA:[0-9]+]]) 8*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: ![[IA]] = !{} 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Workerexit: 11*9880d681SAndroid Build Coastguard Worker ret void, !dbg !{} 12*9880d681SAndroid Build Coastguard Worker; CHECK: invalid !dbg metadata attachment 13*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: ret void, !dbg ![[LOC:[0-9]+]] 14*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: ![[LOC]] = !{} 15*9880d681SAndroid Build Coastguard Worker} 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Worker!llvm.module.flags = !{!0} 18*9880d681SAndroid Build Coastguard Worker!0 = !{i32 2, !"Debug Info Version", i32 3} 19*9880d681SAndroid Build Coastguard Worker!1 = distinct !DISubprogram() 20