Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / common-gc2.s
blobfec1c4be86b5ee718babc0e62a05e886ea9f691f
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
3 # RUN: ld.lld -gc-sections -export-dynamic %t -o %t1
4 # RUN: llvm-readobj --dyn-symbols %t1 | FileCheck %s
6 # CHECK: Name: bar
7 # CHECK: Name: foo
9 .comm bar,4,4
10 .comm foo,4,4
12 .text
13 .globl _start
14 _start:
15 .quad foo