1## --version skips input file processing. 2# RUN: ld.lld --version %t/not-exist 2>&1 | FileCheck %s 3 4## -v/-V don't skip processing if there is any input. 5# RUN: ld.lld -v 2>&1 | FileCheck %s 6# RUN: not ld.lld -v %t/not-exist 2>&1 | FileCheck %s 7# RUN: ld.lld -V 2>&1 | FileCheck %s 8# RUN: not ld.lld -V %t/not-exist 2>&1 | FileCheck %s 9 10# CHECK: LLD {{.+}} (compatible with GNU linkers) 11