mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 09:53:54 +00:00
[tests] Use multiple statements instead of 'echo -e', which is not part of BSD echo.
llvm-svn: 189560
This commit is contained in:
parent
ced664313e
commit
aa17eb4749
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user