xref: /llvm-project/lld/test/wasm/version.test (revision 0764e55c91514734ff79ca4d666fbce2fa89fc9d)
1## Copied from lld/test/ELF/version.test
2
3## --version skips input file processing.
4# RUN: wasm-ld --version %t/not-exist 2>&1 | FileCheck %s
5
6## -v/-V don't skip processing if there is any input.
7# RUN: wasm-ld -v 2>&1 | FileCheck %s
8# RUN: not wasm-ld -v %t/not-exist 2>&1 | FileCheck %s
9# RUN: wasm-ld -V 2>&1 | FileCheck %s
10# RUN: not wasm-ld -V %t/not-exist 2>&1 | FileCheck %s
11
12# CHECK: LLD {{.+}}
13