14 lines · plain
1# REQUIRES: mips2# Check that LLD shows an error when N32 ABI emulation argument3# is combined with non-N32 ABI object files.4 5# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o6# RUN: not ld.lld -m elf32btsmipn32 %t.o -o /dev/null 2>&1 | FileCheck %s7 8 .text9 .global __start10__start:11 nop12 13# CHECK: error: {{.*}}mips-n32-emul.s.tmp.o is incompatible with elf32btsmipn3214