12 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t.o %s4# RUN: not %lld -o %t.out -arch_multiple %t.o 2>&1 | FileCheck %s5 6# CHECK: error: undefined symbol for arch x86_64: _foo7 8.globl _main9_main:10 callq _foo11 ret12