aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-dwarfutil/error-invalid-format.test
blob: 531cde3c4f2b779d71bd07a710c007bd0a784ad4 (plain)
1
2
3
4
5
6
## 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