1# REQUIRES: x86 2 3# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o 4# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s 5 6# CHECK: error: a section .foo with SHF_LINK_ORDER should not refer a non-regular section: {{.*}}.o:(.merge) 7 8.section .merge,"aM",@progbits,8 9.quad 0 10.section .foo,"ao",@progbits,.merge 11.quad 0 12