summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/insert-broken.test
blob: 9a295623a2cafd9c777706e10063138923f2a6c4 (plain)
1
2
3
4
5
6
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'
OpenPOWER on IntegriCloud