1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3# RUN: echo "SECTIONS { .text 0x2000 : {. = 0x10 ; *(.text) } }" > %t.script
4# RUN: not ld.lld %t --script %t.script -o /dev/null
5
6## This inputs previously created a 4gb temporarily file under 32 bit
7## configuration. Issue was fixed. There is no clean way to check that from here.
8## This testcase added for documentation purposes.
9
10.globl _start
11_start:
12nop
13