xref: /llvm-project/llvm/test/tools/llvm-dwarfutil/error-invalid-format.test (revision 4539b44148918c332ff966a2a955aca0ab93dde4)
1*4539b441SAlexey Lapshin## This test checks that llvm-dwarfutil displays an error message
2*4539b441SAlexey Lapshin## if an input file is not valid.
3*4539b441SAlexey Lapshin
4*4539b441SAlexey Lapshin# RUN: not llvm-dwarfutil %s - 2>&1 | FileCheck %s -DFILE=%s
5*4539b441SAlexey Lapshin
6*4539b441SAlexey Lapshin# CHECK: error: '[[FILE]]': The file was not recognized as a valid object file
7