aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-16 17:36:08 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-16 17:36:08 +0000
commiteb1d74e0c8b2c08b98e9175be137ec4ae617a8b7 (patch)
tree369be5c4e0bcec5a0a48cba3f45020ecda6b42db /test/Linker
parent725aed34076e70aa30a7a8d2ae3a44e6eef02410 (diff)
downloadexternal_llvm-eb1d74e0c8b2c08b98e9175be137ec4ae617a8b7.zip
external_llvm-eb1d74e0c8b2c08b98e9175be137ec4ae617a8b7.tar.gz
external_llvm-eb1d74e0c8b2c08b98e9175be137ec4ae617a8b7.tar.bz2
For PR1319:
Remove && from the end of the lines to prevent tests from throwing run lines into the background. Also, clean up places where the same command is run multiple times by using a temporary file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36142 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 5a92b5d..711a0f4 100644
--- a/test/Linker/basiclink.ll
+++ b/test/Linker/basiclink.ll
@@ -1,8 +1,8 @@
; Test linking two functions with different prototypes and two globals
; in different modules. This is for PR411
; 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: echo {define i32* @foo(i32 %x) \{ ret i32* @baz \} \
+; RUN: @baz = external global i32 } | llvm-as -o %t.foo.bc -f
; 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(...)