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

7 lines
164 B
Plaintext

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