projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move all of the header files which are involved in modelling the LLVM IR
[oota-llvm.git]
/
test
/
Linker
/
link-messages.ll
diff --git
a/test/Linker/link-messages.ll
b/test/Linker/link-messages.ll
index 920782d15bb6f1e36d4535ff59feb2b1d70753cd..4e7ffbc97d64c2fb8e84bed71002bf4467420820 100644
(file)
--- a/
test/Linker/link-messages.ll
+++ b/
test/Linker/link-messages.ll
@@
-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
; 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() {
define i32 @bar() {
-
ret i32 0
+ ret i32 0
}
}