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
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
15 .section ".deplibs","MS",@llvm_dependent_libraries,1