Try and fix this test. For some reason llvm-ar thinks that the file exists when

it shouldn't, but I have no way to verify that it doesn't actually exist on the
buildbot.

llvm-svn: 123594
This commit is contained in:
Michael J. Spencer 2011-01-16 20:52:58 +00:00
parent 29fdfe200e
commit b0510b04d5

View File

@ -1,5 +1,6 @@
; Test linking of a bc file to an archive via llvm-ld. ; Test linking of a bc file to an archive via llvm-ld.
; PR1434 ; PR1434
; RUN: rm %t.bar.a %t.foo.a
; RUN: llvm-as %s -o %t.bar.bc ; RUN: llvm-as %s -o %t.bar.bc
; RUN: echo {define i32* @foo(i32 %x) \{ ret i32* @baz \} \ ; RUN: echo {define i32* @foo(i32 %x) \{ ret i32* @baz \} \
; RUN: @baz = external global i32 } | llvm-as -o %t.foo.bc ; RUN: @baz = external global i32 } | llvm-as -o %t.foo.bc