brintos

brintos / llvm-project-archived public Read only

0
0
Text · 434 B · a83ab23 Raw
14 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o %t.o3# RUN: not ld.lld -shared %t.o -o /dev/null --script %s 2>&1 | FileCheck -strict-whitespace %s4 5## Check that we start with a flag6 7SECTIONS {8 .text : { INPUT_SECTION_FLAGS(& SHF_ALLOC) *(.text) }9}10 11# CHECK:  unrecognised flag: &12# CHECK-NEXT: >>>  .text : { INPUT_SECTION_FLAGS(& SHF_ALLOC) *(.text) }13# CHECK-NEXT: >>>                                ^14