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