1 ; RUN: llvm-as -o %t1.bc %s 2 ; RUN: llvm-as -o %t2.bc %S/Inputs/irmover-error.ll 3 ; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so -o %t %t1.bc %t2.bc 2>&1 | FileCheck %s 4 5 ; CHECK: fatal error: Failed to link module {{.*}}2.bc: linking module flags 'foo': IDs have conflicting values 6 7 !0 = !{ i32 1, !"foo", i32 1 } 8 9 !llvm.module.flags = !{ !0 } 10