14 lines · plain
1## Print an error if a non-immediate operand is used while an immediate is expected2# RUN: not llvm-mc -filetype=obj -triple=mips -o /dev/null %s 2>&1 | FileCheck %s --implicit-check-not=error:3# RUN: not llvm-mc -filetype=obj -triple=mips64 -o /dev/null %s 2>&1 | FileCheck %s --implicit-check-not=error:4 5# CHECK: [[#@LINE+1]]:16: error: unsupported relocation type6 ori $4, $4, start7 ori $4, $4, (start - .)8 9# CHECK: [[#@LINE+1]]:18: error: unsupported relocation type10 addiu $4, $4, start11 addiu $4, $4, (start - .)12 13start:14