1 RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret32.s -o %t.o
3 RUN: echo "%/t.o -o %/t.wasm -e ret32" > %t.rsp
4 RUN: wasm-ld @%t.rsp --initial-memory=655360
5 RUN: llvm-readobj --sections %t.wasm | FileCheck %s
8 RUN: not wasm-ld --rsp-quoting=foobar @%t.rsp 2>&1 | \
9 RUN: FileCheck --check-prefix=INVRSP %s
10 INVRSP: invalid response file quoting: foobar
12 RUN: echo "blah\foo" > %t.rsp
13 RUN: not wasm-ld -o a.out --rsp-quoting=windows @%t.rsp 2>&1 | \
14 RUN: FileCheck --check-prefix=WINRSP %s
15 WINRSP: error: cannot open blah\foo:
17 RUN: echo "blah\foo" > %t.rsp
18 RUN: not wasm-ld -o a.out --rsp-quoting=posix @%t.rsp 2>&1 | \
19 RUN: FileCheck --check-prefix=POSRSP %s
20 POSRSP: error: cannot open blahfoo: