xref: /llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/error-separate-file-stdout.test (revision 4539b44148918c332ff966a2a955aca0ab93dde4)
1## This test checks the error message displayed if the destination
2## is stdout and separate debug info file is requested.
3
4# RUN: yaml2obj %p/Inputs/common.yaml -o %t.o
5# RUN: not llvm-dwarfutil --separate-debug-file %t.o - 2>&1 | FileCheck --check-prefix CHECK %s
6
7# CHECK: error: unable to write to stdout when --separate-debug-file specified
8