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