repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git]
/
llvm
/
test
/
tools
/
llvm-objcopy
/
ELF
/
cannot-delete-dest.test
blob
68e547fbb98410c1f87921c84ae1d9530280ed90
1
# REQUIRES: system-windows
2
# RUN: yaml2obj %s -o %t.o
3
# RUN: rm -f %t2.o
4
# RUN: cp %t.o %t2.o
5
# RUN: attrib +r %t2.o
6
7
# This fails because it cannot replace %t2.o
8
# RUN: not llvm-objcopy %t.o %t2.o
9
10
# But it doesn't leave any temporary files behind.
11
# RUN: not ls %t2.o.tmp*
12
13
!ELF
14
FileHeader:
15
Class: ELFCLASS64
16
Data: ELFDATA2LSB
17
Type: ET_REL
18
Machine: EM_X86_64