blob: 1ec064e505d28ac18a4526ea1492c56177b0880b [file] [log] [blame]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t.o %s
# RUN: not %lld -o %t.out -arch_multiple %t.o 2>&1 | FileCheck %s
# CHECK: error: undefined symbol for arch x86_64: _foo
.globl _main
_main:
callq _foo
ret