aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-27 21:10:35 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-27 21:10:35 +0000
commit4a29c48b019188e1e073fa43314411b93baaf0c5 (patch)
treedd8ba7908f6b536d2014d3c86bc383d26117b2fd /test/Linker
parenteb2073bf61988a376db0621038da27164d857fa5 (diff)
downloadexternal_llvm-4a29c48b019188e1e073fa43314411b93baaf0c5.zip
external_llvm-4a29c48b019188e1e073fa43314411b93baaf0c5.tar.gz
external_llvm-4a29c48b019188e1e073fa43314411b93baaf0c5.tar.bz2
Use -f option so test is repeatable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r--test/Linker/basiclink.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Linker/basiclink.ll b/test/Linker/basiclink.ll
index 5f7c7a1..6f2971a 100644
--- a/test/Linker/basiclink.ll
+++ b/test/Linker/basiclink.ll
@@ -3,8 +3,8 @@
; RUN: llvm-as %s -o %t.bar.bc -f
; RUN: echo "define i32* @foo(i32 %x) { ret i32* @baz } @baz = external global i32" | \
; RUN: llvm-as -o %t.foo.bc -f
-; RUN: llvm-link %t.bar.bc %t.foo.bc -o %t.bc
-; RUN: llvm-link %t.foo.bc %t.bar.bc -o %t.bc
+; RUN: llvm-link %t.bar.bc %t.foo.bc -o %t.bc -f
+; RUN: llvm-link %t.foo.bc %t.bar.bc -o %t.bc -f
declare i32* @foo(...)
define i32* @bar() {
%ret = call i32* (...)* @foo( i32 123 )