forked from OSchip/llvm-project
15 lines
319 B
Plaintext
15 lines
319 B
Plaintext
|
# REQUIRES: x86, shell
|
||
|
# 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
|
||
|
|
||
|
.globl _start
|
||
|
_start:
|
||
|
nop
|