llvm-for-llvmta/test/tools/llvm-ar/version.test

12 lines
330 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
## Show that the version for llvm-ar can be printed with either the long flag
## -version or with the V modifier.
RUN: llvm-ar V | FileCheck %s
RUN: llvm-ar xV | FileCheck %s
RUN: llvm-ar -V | FileCheck %s
RUN: llvm-ar -xV | FileCheck %s
RUN: llvm-ar -version | FileCheck %s
RUN: llvm-ar --version | FileCheck %s
CHECK: version