1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t 3# RUN: echo "SECTIONS { /DISCARD/ : { *(.aaa*) } }" > %t.script 4# RUN: ld.lld -o %t1 --script %t.script %t 5# RUN: llvm-objdump --section-headers %t1 | FileCheck %s 6 7# CHECK-NOT: .aaa 8 9.section .aaa,"a" 10aab: 11 .quad 0 12 13.section .zzz,"a" 14 .quad aab 15