diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-08-29 03:02:30 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-08-29 03:02:30 +0000 |
commit | 5c8f5c1c26cc8377900de4498f6c3697ff95694d (patch) | |
tree | 760e6fa71534d9585cf99e6ae385d10f0a3447ed /llvm/test/Linker/transitive-lazy-link.ll | |
parent | b8da61fd1b864678c3a0b4ea0b00cfb06166e078 (diff) | |
download | bcm5719-llvm-5c8f5c1c26cc8377900de4498f6c3697ff95694d.tar.gz bcm5719-llvm-5c8f5c1c26cc8377900de4498f6c3697ff95694d.zip |
[tests] Use multiple statements instead of 'echo -e', which is not part of BSD echo.
llvm-svn: 189560
Diffstat (limited to 'llvm/test/Linker/transitive-lazy-link.ll')
-rw-r--r-- | llvm/test/Linker/transitive-lazy-link.ll | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/test/Linker/transitive-lazy-link.ll b/llvm/test/Linker/transitive-lazy-link.ll index 32b9d219aea..c1cacae5a9a 100644 --- a/llvm/test/Linker/transitive-lazy-link.ll +++ b/llvm/test/Linker/transitive-lazy-link.ll @@ -1,6 +1,11 @@ ; @f and @g are lazily linked. @f requires @g - ensure @g is correctly linked. -; RUN: echo -e "declare i32 @f(i32)\ndefine i32 @h(i32 %x) {\n%1 = call i32 @f(i32 %x)\nret i32 %1\n}" | llvm-as >%t.1.bc +; RUN: echo "declare i32 @f(i32)" > %t.1.ll +; RUN: echo "define i32 @h(i32 %x) {" >> %t.1.ll +; RUN: echo " %1 = call i32 @f(i32 %x)" >> %t.1.ll +; RUN: echo " ret i32 %1" >> %t.1.ll +; RUN: echo "}" >> %t.1.ll +; RUN: llvm-as < %t.1.ll > %t.1.bc ; RUN: llvm-as < %s > %t.2.bc ; RUN: llvm-link %t.1.bc %t.2.bc |