1# REQUIRES: x86
2# RUN: echo '.section .bss,"",@nobits; .short 0' \
3# RUN:   | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o
4# RUN: ld.lld -o %t --script %s %t.o
5
6## Check we do not crash.
7
8SECTIONS {
9 .bss : {
10   . += 0x10000;
11   *(.bss)
12 } =0xFF
13}
14