Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / mips-n32-emul.s
blob3385d512d968f9ff322ae8d966d7076da18324cc
1 # REQUIRES: mips
2 # Check that LLD shows an error when N32 ABI emulation argument
3 # is combined with non-N32 ABI object files.
5 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
6 # RUN: not ld.lld -m elf32btsmipn32 %t.o -o /dev/null 2>&1 | FileCheck %s
8 .text
9 .global __start
10 __start:
11 nop
13 # CHECK: error: {{.*}}mips-n32-emul.s.tmp.o is incompatible with elf32btsmipn32