You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
751 B
18 lines
751 B
## Show that the help message for llvm-ranlib can be printed with either the
|
|
## long flag -help.
|
|
|
|
# RUN: llvm-ranlib -h | FileCheck %s --check-prefix=HELP
|
|
# RUN: llvm-ranlib -help | FileCheck %s --check-prefix=HELP
|
|
# RUN: llvm-ranlib --help | FileCheck %s --check-prefix=HELP
|
|
# RUN: llvm-ranlib --version | FileCheck %s --check-prefix=VERSION
|
|
# RUN: llvm-ranlib -version | FileCheck %s --check-prefix=VERSION
|
|
# RUN: llvm-ranlib -v | FileCheck %s --check-prefix=VERSION
|
|
|
|
## Also check combined options (first -h/-v flag wins)
|
|
# RUN: llvm-ranlib -Dh | FileCheck %s --check-prefix=HELP
|
|
# RUN: llvm-ranlib -Dvh | FileCheck %s --check-prefix=VERSION
|
|
# RUN: llvm-ranlib -Dhv | FileCheck %s --check-prefix=HELP
|
|
|
|
# HELP: USAGE: llvm-ranlib
|
|
# VERSION: version
|