aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-dwarfutil/error-positional-args.test
blob: b46f94e671da9386c874ec95b7cbe6696f85e9d4 (plain)
1
2
3
4
5
6
7
8
## 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