bolt/deps/llvm-18.1.8/llvm/test/tools/llvm-dwarfutil/error-positional-args.test
2025-02-14 19:21:04 +01:00

8 lines
400 B
Text

## This test checks the error message displayed if an incorrect
## number of positional arguments is specified.
# RUN: not llvm-dwarfutil - 2>&1 | FileCheck --check-prefix CHECK1 %s
# RUN: not llvm-dwarfutil - - - 2>&1 | FileCheck --check-prefix CHECK3 %s
# CHECK1: error: exactly two positional arguments expected, 1 provided
# CHECK3: error: exactly two positional arguments expected, 3 provided