llvm-project/lld/test/ELF/linkerscript/insert-broken.test

7 lines
170 B
Plaintext

SECTIONS {
.foo : { *(.bar) }
} INSERT .data;
# RUN: not ld.lld -o /dev/null --script %s 2>&1 | FileCheck %s
# CHECK: {{.*}}:3: expected AFTER/BEFORE, but got '.data'