[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / common-gc3.s
blobe161a635c0776a18f75bd3d8ac060fde790c542d
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
3 # RUN: ld.lld %t.o -o %t1 --gc-sections
4 # RUN: llvm-objdump -s %t1 | FileCheck %s
6 # CHECK: Contents of section .noalloc:
7 # 0000 00000000 00000000 ........
9 .section .text._start,"ax",@progbits
10 .globl _start
11 _start:
12 retq
14 .type unused,@object
15 .comm unused,4,4
17 .section .noalloc,"",@progbits
18 .quad unused