1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64 %p/Inputs/insert-after.s -o %t.o 3# RUN: not ld.lld -T %s %t.o -o /dev/null 2>&1 | FileCheck %s 4 5# CHECK: error: unable to insert .foo.data after .not_exist 6# CHECK: error: unable to insert .foo.text before .not_exist 7 8SECTIONS { .foo.data : {} } INSERT AFTER .not_exist; 9SECTIONS { .foo.text : {} } INSERT BEFORE .not_exist; 10