1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t.o
3# RUN: echo "INCLUDE \"%s\"" > %t.script
4# RUN: not ld.lld -shared %t.o -o %t --script %t.script 2>&1 | FileCheck -strict-whitespace %s
5
6SECTIONS {
7  .text : { *(.text) }
8  .keep : { *(.keep) }
9  boom .temp : { *(.temp) }
10}
11
12# CHECK:      9: malformed number: .temp
13# CHECK-NEXT: >>>   boom .temp : { *(.temp) }
14# CHECK-NEXT: >>>        ^