2 # Check error message for invalid cross-mode branch instructions.
4 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux \
5 # RUN: %S/Inputs/mips-dynamic.s -o %t2.o
6 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t1.o
7 # RUN: not ld.lld -o /dev/null %t1.o %t2.o 2>&1 | FileCheck %s
9 # CHECK: (.text+0x0): unsupported jump/branch instruction between ISA modes referenced by R_MICROMIPS_PC10_S1 relocation