Files
clang-p2996/lld/test/wasm/driver.ll
Rui Ueyama 4aab7b1d91 Do not print out "no input files" twice.
Differential Revision: https://reviews.llvm.org/D43408

llvm-svn: 325406
2018-02-16 22:58:19 +00:00

19 lines
490 B
LLVM

; RUN: llc -filetype=obj %s -o %t.o
target triple = "wasm32-unknown-unknown-wasm"
define hidden void @entry() local_unnamed_addr #0 {
entry:
ret void
}
; RUN: not wasm-ld -o %t.exe 2>&1 | FileCheck -check-prefix=IN %s
; IN: error: no input files
; RUN: not wasm-ld %t.o 2>&1 | FileCheck -check-prefix=OUT %s
; OUT: error: no output file specified
; RUN: not wasm-ld 2>&1 | FileCheck -check-prefix=BOTH %s
; BOTH: error: no input files
; BOTH-NOT: error: no output file specified