xref: /llvm-project/llvm/test/MC/MachO/section-offset-overflow.s (revision a10570ba91050a394ca7766a6d1386dc17f8acc6)
1// RUN: not llvm-mc -triple x86_64-apple-macosx -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s
2
3// CHECK: error: cannot encode offset of section
4
5        .data
6        .long 1
7        .zero 0x100000000
8        .const
9        .long 1
10