[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / gc-collect-undefined.s
blob7ade554aef13645769d1eecdba3128e341a2594e
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3 # RUN: ld.lld %t -o %tout --gc-sections -shared
4 # RUN: llvm-nm -D %tout | FileCheck %s
6 # CHECK-NOT: qux
7 # CHECK: bar
8 # CHECK-NOT: qux
10 .global foo,bar,qux
11 .local baz
13 .section .data.foo,"aw",%progbits
14 foo:
15 .dc.a bar
17 .section .bata.baz,"aw",%progbits
18 baz:
19 .dc.a qux