1# REQUIRES: x86 2 3# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t.o %s 4# RUN: not %lld -o %t.out -arch_multiple %t.o 2>&1 | FileCheck %s 5 6# CHECK: error: undefined symbol for arch x86_64: _foo 7 8.globl _main 9_main: 10 callq _foo 11 ret 12