]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/linkerscript/locationcountererr.test
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / linkerscript / locationcountererr.test
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 %t1 2>&1 | FileCheck %s
4 # CHECK: {{.*}}.test:8: unable to move location counter backward for: .text
5
6 SECTIONS {
7   .text 0x2000 : {
8     . = 0x10;
9     *(.text)
10   }
11 }