Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / MachO / arch-multiple.s
blob1ec064e505d28ac18a4526ea1492c56177b0880b
1 # REQUIRES: x86
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
6 # CHECK: error: undefined symbol for arch x86_64: _foo
8 .globl _main
9 _main:
10 callq _foo
11 ret