Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / gc-sections-undefined.s
blobe681d9ab22b9e802d699e433718465c52453aeae
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3 # RUN: ld.lld %t -o %t1 --gc-sections --undefined=foo
4 # RUN: llvm-readobj --symbols %t1 | FileCheck %s
6 # CHECK: foo
8 .section .foo,"ax"
9 .global foo
10 foo: