1# REQUIRES: x86
2
3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4# RUN: not ld.lld %t.o -o /dev/null -L %t.dir 2>&1 | FileCheck %s -DOBJ=%t.o
5# CHECK: error: [[OBJ]]: corrupted dependent libraries section (unterminated string): .deplibs
6
7.section ".deplibs","MS",@llvm_dependent_libraries,1
8    .ascii  ":foo.a"
9