1; Test that linking two files with the same definition causes an error and 2; that error is printed out. 3; RUN: llvm-as %s -o %t.one.bc 4; RUN: llvm-as %s -o %t.two.bc 5; RUN: not llvm-ld -disable-opt -link-as-library %t.one.bc %t.two.bc \ 6; RUN: -o %t.bc 2>%t.err 7; RUN: grep "symbol multiply defined" %t.err 8 9define i32 @bar() { 10 ret i32 0 11} 12