[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / exclude-discarded-error2.s
blobcda7bc7150fb6bf4cd3c16f0b32805b588e784e3
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
3 # RUN: echo '.section .foo,"aG",@progbits,zz,comdat; .weak foo; foo:' | \
4 # RUN: llvm-mc -filetype=obj -triple=x86_64 - -o %t1.o
5 # RUN: ld.lld %t.o %t1.o -o %t
6 # RUN: llvm-readelf -s %t | FileCheck %s
8 # CHECK: NOTYPE WEAK DEFAULT UND foo
10 .globl _start
11 _start:
12 jmp foo
14 .section .foo,"aG",@progbits,zz,comdat