You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
409 B

# REQUIRES: system-windows
# RUN: yaml2obj %s -o %t.o
# RUN: rm -f %t2.o
# RUN: cp %t.o %t2.o
# RUN: attrib +r %t2.o
# This fails because it cannot replace %t2.o
# RUN: not llvm-objcopy %t.o %t2.o
# But it doesn't leave any temporary files behind.
# RUN: not ls %t2.o.tmp*
!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64