# RUN: yaml2obj %s -o %t.foo
# RUN: llvm-objcopy - %t < %t.foo
# RUN: llvm-objcopy %t.foo %t1
# RUN: cmp %t %t1
# RUN: llvm-objcopy %t.foo - > %t2
# RUN: cmp %t1 %t2
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_DYN
Machine: EM_X86_64