1 # RUN: yaml2obj %s -o %t1.o
2 # RUN: not ld.lld %t1.o -o /dev/null 2>&1 | FileCheck %s
3 # CHECK: error: {{.*}}1.o:(.text): multiple relocation sections to one section are not supported
5 ## The file has two relocation sections referring to a single target section.
6 ## Multiple relocation sections to one section are not supported, check we report this case.
17 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]