summaryrefslogtreecommitdiff
path: root/lld/test/ELF/version.test
blob: 72bd2ab56a126facf3b47ec81b3fd77d4183aa1a (plain)
1
2
3
4
5
6
7
8
9
10
## --version skips input file processing.
# RUN: ld.lld --version %t/not-exist 2>&1 | FileCheck %s

## -v/-V don't skip processing if there is any input.
# RUN: ld.lld -v 2>&1 | FileCheck %s
# RUN: not ld.lld -v %t/not-exist 2>&1 | FileCheck %s
# RUN: ld.lld -V 2>&1 | FileCheck %s
# RUN: not ld.lld -V %t/not-exist 2>&1 | FileCheck %s

# CHECK: LLD {{.+}} (compatible with GNU linkers)