llvm-project/lld/test/wasm/version.test

13 lines
404 B
Plaintext

## Copied from lld/test/ELF/version.test
## --version skips input file processing.
# RUN: wasm-ld --version %t/not-exist 2>&1 | FileCheck %s
## -v/-V don't skip processing if there is any input.
# RUN: wasm-ld -v 2>&1 | FileCheck %s
# RUN: not wasm-ld -v %t/not-exist 2>&1 | FileCheck %s
# RUN: wasm-ld -V 2>&1 | FileCheck %s
# RUN: not wasm-ld -V %t/not-exist 2>&1 | FileCheck %s
# CHECK: LLD {{.+}}