Temporarily Revert "Nuke the old JIT." as it's not quite ready to
[oota-llvm.git] / test / Linker / link-messages.ll
index 920782d15bb6f1e36d4535ff59feb2b1d70753cd..4e7ffbc97d64c2fb8e84bed71002bf4467420820 100644 (file)
@@ -2,10 +2,9 @@
 ; that error is printed out.
 ; RUN: llvm-as %s -o %t.one.bc
 ; RUN: llvm-as %s -o %t.two.bc
-; RUN: not llvm-ld -disable-opt -link-as-library %t.one.bc %t.two.bc \
-; RUN:   -o %t.bc 2>%t.err 
-; RUN: grep "symbol multiply defined" %t.err
+; RUN: not llvm-link %t.one.bc %t.two.bc -o %t.bc 2>&1 | FileCheck %s
 
+; CHECK: symbol multiply defined
 define i32 @bar() {
-       ret i32 0
+  ret i32 0
 }