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