llvm-for-llvmta/test/tools/llvm-objcopy/ELF/fail-no-output-directory.test

13 lines
296 B
Plaintext

# RUN: yaml2obj %s -o %t
# RUN: not llvm-objcopy %t no/such/dir 2>&1 | FileCheck %s
# Don't check "No such file" which is OS dependent.
# CHECK: 'no/such/dir':
!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_EXEC
Machine: EM_X86_64