Make sure linker output is overwritten so this test can pass multiple times.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 19 Dec 2006 19:29:50 +0000 (19:29 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 19 Dec 2006 19:29:50 +0000 (19:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32675 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/weakextern.ll

index a04be67202786f4ad73d7a9a74c51b9e965875f0..d1f78fbdb0566d2e65e4a5768df1b063cc48e419 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llvm-as < %s > %t.bc
 ; RUN: llvm-as < `dirname %s`/testlink1.ll > %t2.bc
-; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc
+; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc -f
 ; RUN: llvm-dis < %t1.bc |grep "kallsyms_names = extern_weak" &&
 ; RUN: llvm-dis < %t1.bc |grep "MyVar = external global int" &&
 ; RUN: llvm-dis < %t1.bc |grep "Inte = global int"
@@ -10,4 +10,3 @@
 %Inte = extern_weak global int
 
 implementation
-