[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / lld / test / MachO / invalid / invalid-fat-offset.s
blob3ad8a67340e8738142943fb9b60ded106ef080be
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]]: slice extends beyond end of file
7 !fat-mach-o
8 FatHeader:
9 magic: 0xCAFEBABE
10 nfat_arch: 2
11 FatArchs:
12 - cputype: 0x01000007
13 cpusubtype: 0x00000003
14 offset: 0x0000000000001000
15 size: 0
16 align: 12
17 - cputype: 0x00000007
18 cpusubtype: 0x00000003
19 offset: 0x000000000000B000
20 size: 0
21 align: 12
22 Slices: