blob: 972a137932a8272e7fa3e8670028bb36c6fcb848 [file] [log] [blame]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-darwin %s -o %t.o
# RUN: %lld -o /dev/null %t.o
# RUN: not %lld -arch i386 -o /dev/null %t.o 2>&1 | FileCheck %s
# CHECK: error: missing or unsupported -arch i386
.text
.global _main
_main:
mov $0, %rax
ret