xref: /llvm-project/lld/test/MachO/invalid/invalid-fat-narch.s (revision 643ec67a64ad7a686361b1d309e5088ad8f228e9)
1# REQUIRES: x86
2# RUN: yaml2obj %s -o %t.o
3# RUN: not %lld -o /dev/null %t.o 2>&1 | \
4# RUN:    FileCheck %s -DFILE=%t.o
5# CHECK: error: [[FILE]]: fat_arch struct extends beyond end of file
6
7!fat-mach-o
8FatHeader:
9  magic:           0xCAFEBABE
10  nfat_arch:       2
11FatArchs:
12Slices:
13