aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/MC/MachO/section-offset-overflow.s
blob: f652cdb9f7e5c8457dbe36452fc7619344c290e6 (plain)
1
2
3
4
5
6
7
8
9
// RUN: not llvm-mc -triple x86_64-apple-macosx -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s

// CHECK: error: cannot encode offset of section

        .data
        .long 1
        .zero 0x100000000
        .const
        .long 1