1*9880d681SAndroid Build Coastguard Worker; Use llvm-as to verify each module 2*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as %s -o %t1.bc 3*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as %p/Inputs/odr.ll -o %t2.bc 4*9880d681SAndroid Build Coastguard Worker; Check that we can link it 5*9880d681SAndroid Build Coastguard Worker; RUN: llvm-link %t1.bc %t2.bc -o %t 6*9880d681SAndroid Build Coastguard Worker@bar = global i64 0, align 8 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Worker!llvm.dbg.cu = !{!0} 9*9880d681SAndroid Build Coastguard Worker!llvm.module.flags = !{!7} 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Worker!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, isOptimized: false, runtimeVersion: 0, emissionKind: NoDebug, retainedTypes: !2, globals: !5) 12*9880d681SAndroid Build Coastguard Worker!1 = !DIFile(filename: "a", directory: "") 13*9880d681SAndroid Build Coastguard Worker!2 = !{!3} 14*9880d681SAndroid Build Coastguard Worker!3 = distinct !DICompositeType(tag: DW_TAG_class_type, scope: !4, file: !1, identifier: "zed") 15*9880d681SAndroid Build Coastguard Worker!4 = distinct !DISubprogram(name: "b", scope: null, isLocal: false, isDefinition: true, isOptimized: false, unit: !0) 16*9880d681SAndroid Build Coastguard Worker!5 = !{!6} 17*9880d681SAndroid Build Coastguard Worker!6 = distinct !DIGlobalVariable(name: "c", scope: null, isLocal: false, isDefinition: true, variable: i64* @bar) 18*9880d681SAndroid Build Coastguard Worker!7 = !{i32 2, !"Debug Info Version", i32 3} 19