1 ## Test reading TBE file with bad endianness.
3 # RUN: not llvm-ifs --output-ifs=- %s 2>&1 | FileCheck %s
8 Target: { ObjectFormat: ELF, Arch: x86_64, Endianness: lit, BitWidth: 64 }
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 }
17 # CHECK: YAML:8:56: error: Unsupported endianness