1 # RUN: echo "" | not yaml2obj 2>&1 | FileCheck %s
2 # RUN: echo -n "" | not yaml2obj 2>&1 | FileCheck %s
3 # RUN: echo " " | not yaml2obj 2>&1 | FileCheck %s
4 # RUN: echo " " | not yaml2obj 2>&1 | FileCheck %s
5 # CHECK: yaml2obj: error: unknown document type
7 # RUN: echo -e -n "\xff" | not yaml2obj 2>&1 | FileCheck %s --check-prefix=INVALID
8 # INVALID: yaml2obj: error: failed to parse YAML input