1## Test reading TBE file with bad endianness. 2 3# RUN: not llvm-ifs --output-format=IFS --output=- %s 2>&1 | FileCheck %s 4 5--- !ifs-v1 6SoName: somelib.so 7IfsVersion: 3.0 8Target: { ObjectFormat: ELF, Arch: x86_64, Endianness: lit, BitWidth: 64 } 9Symbols: 10 - { Name: foo, Type: Func } 11 - { Name: bar, Type: Object, Size: 42 } 12 - { Name: baz, Type: Object, Size: 8 } 13 - { Name: not, Type: Object, Size: 128, Undefined: true } 14 - { Name: nor, Type: Func, Undefined: true } 15... 16 17# CHECK: YAML:8:56: error: Unsupported endianness 18