1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t
3# RUN: not ld.lld %t --script %s -o /dev/null 2>&1 | FileCheck %s
4# CHECK: {{.*}}.test:8: unable to move location counter backward for: .text
5
6SECTIONS {
7  .text 0x2000 : {
8    . = 0x10;
9    *(.text)
10  }
11}
12