blob: da8fa6cd9de3bf3a0b7ee872f6f5694e8faef8ee [file] [log] [blame]
# REQUIRES: x86
# Make sure that LLD works even if the current directory is not writable.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t.exe
# RUN: mkdir -p %t.dir
# RUN: chmod 100 %t.dir
# RUN: cd %t.dir
# RUN: ld.lld %t.o -o %t.exe -M
# RUN: chmod 755 %t.dir
.globl _start
_start:
nop