Files
clang-p2996/lld/test/MachO/invalid-executable.s
2020-04-02 12:03:43 -07:00

12 lines
273 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-darwin %s -o %t.o
# RUN: lld -flavor darwinnew -o %t %t.o
# RUN: not lld -flavor darwinnew -o /dev/null %t 2>&1 | FileCheck %s
# CHECK: unhandled file type
.text
.global _main
_main:
mov $0, %rax
ret