llvm-for-llvmta/test/tools/llvm-ar/help-message.test

12 lines
347 B
Plaintext
Raw Normal View History

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