2 # Make sure that LLD works even if the current directory is not writable.
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
5 # RUN: ld.lld %t.o -o %t.exe
8 # RUN: chmod 100 %t.dir
10 # RUN: ld.lld %t.o -o %t.exe -M
11 # RUN: chmod 755 %t.dir