3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4 # RUN: ld.lld --gc-sections --print-gc-sections %t.o -o /dev/null | count 0
10 ## .foo is retained, so sections linking to it are retained as well.
13 .section .bar,"ao",@progbits,.foo
15 .section .zed,"ao",@progbits,.foo
21 .section .nonalloc_linkorder,"o",@progbits,.nonalloc