blob: 15d81fdc2be4ad04dbdc16a9aad7e8585ccd123d [file] [log] [blame]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t.o
# RUN: echo "INCLUDE \"%s\"" > %t.script
# RUN: not ld.lld -shared %t.o -o /dev/null --script %t.script 2>&1 | FileCheck -strict-whitespace %s
SECTIONS {
.text : { *(.text) }
.keep : { *(.keep) }
boom ^temp : { *(.temp) }
}
# CHECK: 9: malformed number: ^temp
# CHECK-NEXT: >>> boom ^temp : { *(.temp) }
# CHECK-NEXT: >>> ^