[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / deplibs-colon-prefix.s
blob6431f6f46081621133fabf71c231b9fad0d26b72
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
4 # RUN: echo ".global foo; foo:" | \
5 # RUN: llvm-mc -filetype=obj -triple=x86_64 - -o %tfoo.o
6 # RUN: rm -rf %t.dir
7 # RUN: mkdir -p %t.dir
8 # RUN: llvm-ar rc %t.dir/foo.a %tfoo.o
9 # RUN: not ld.lld %t.o -o /dev/null -L %t.dir 2>&1 | FileCheck %s -DOBJ=%t.o
10 # CHECK: error: [[OBJ]]: unable to find library from dependent library specifier: :foo.a
12 .global _start
13 _start:
14 call foo
15 .section ".deplibs","MS",@llvm_dependent_libraries,1
16 .asciz ":foo.a"