llvm-project/llvm/test/tools/llvm-dwarfutil/error-invalid-format.test

7 lines
242 B
Plaintext

## This test checks that llvm-dwarfutil displays an error message
## if an input file is not valid.
# RUN: not llvm-dwarfutil %s - 2>&1 | FileCheck %s -DFILE=%s
# CHECK: error: '[[FILE]]': The file was not recognized as a valid object file