1 ## Show that the version for llvm-ar can be printed with either the long flag
2 ## -version or with the V modifier.
4 RUN: llvm-ar V | FileCheck %s
5 RUN: llvm-ar xV | FileCheck %s
6 RUN: llvm-ar -V | FileCheck %s
7 RUN: llvm-ar -xV | FileCheck %s
8 RUN: llvm-ar --version | FileCheck %s
12 RUN: not llvm-ar -version 2>&1 | FileCheck %s --check-prefix=ONE-DASH
14 ONE-DASH: error: unknown option e