llvm/llvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml

# RUN: echo "" | not yaml2obj 2>&1 | FileCheck %s
# RUN: echo -n "" | not yaml2obj 2>&1 | FileCheck %s
# RUN: echo " " | not yaml2obj 2>&1 | FileCheck %s
# RUN: echo "  " | not yaml2obj 2>&1 | FileCheck %s
# CHECK: yaml2obj: error: unknown document type

# RUN: echo -e -n "\xff" | not yaml2obj 2>&1 | FileCheck %s --check-prefix=INVALID
# INVALID: yaml2obj: error: failed to parse YAML input