Use -f option so test is repeatable.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 27 Jan 2007 21:10:35 +0000 (21:10 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 27 Jan 2007 21:10:35 +0000 (21:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33589 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/basiclink.ll

index 5f7c7a12ad6d682c025c7e94de00d1d72db89700..6f2971a7d647cbc7def76354c5ebbb38e57e2739 100644 (file)
@@ -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 )