1# REQUIRES: x86 2# Make sure that LLD works even if the current directory is not writable. 3 4# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o 5# RUN: ld.lld %t.o -o %t.exe 6 7# RUN: mkdir -p %t.dir 8# RUN: chmod 100 %t.dir 9# RUN: cd %t.dir 10# RUN: ld.lld %t.o -o %t.exe -M 11# RUN: chmod 755 %t.dir 12 13.globl _start 14_start: 15 nop 16