[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / dynamic-list-empty.s
blob5686ce0c431b0d235dc8761208498e6bcf1c0bed
1 # REQUIRES: x86
3 # BFD reports a parse error on empty lists, but it is clear how to
4 # handle it.
6 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
7 # RUN: echo "{ };" > %t.list
8 # RUN: ld.lld -dynamic-list %t.list -shared %t.o -o %t.so
9 # RUN: llvm-readobj -r %t.so | FileCheck %s
11 # CHECK: Relocations [
12 # CHECK-NEXT: ]
14 .globl foo
15 foo:
16 ret
18 call foo@PLT