2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: echo "SECTIONS {.foo : {*(.foo.*)} }" > %t.script
5 # RUN: ld.lld -o %t1 --script %t.script %t
6 # RUN: llvm-objdump --section-headers %t1 | FileCheck %s
8 # CHECK-NEXT: Idx Name Size VMA Type
10 # CHECK: .foo 00000008 {{.*}} DATA