17 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o4# RUN: echo ".global foo; foo:" | \5# RUN: llvm-mc -filetype=obj -triple=x86_64 - -o %tfoo.o6# RUN: rm -rf %t.dir7# RUN: mkdir -p %t.dir8# RUN: llvm-ar rc %t.dir/foo.a %tfoo.o9# RUN: not ld.lld %t.o -o /dev/null -L %t.dir 2>&1 | FileCheck %s -DOBJ=%t.o10# CHECK: error: [[OBJ]]: unable to find library from dependent library specifier: :foo.a11 12 .global _start13_start:14 call foo15 .section ".deplibs","MS",@llvm_dependent_libraries,116 .asciz ":foo.a"17