1 ## Print an error if a non-immediate operand is used while an immediate is expected
2 # RUN: not llvm-mc -filetype=obj -triple=mips -o /dev/null %s 2>&1 | FileCheck %s
3 # RUN: not llvm-mc -filetype=obj -triple=mips64 -o /dev/null %s 2>&1 | FileCheck %s
5 # CHECK: [[#@LINE+1]]:16: error: expected an immediate
7 # CHECK: [[#@LINE+1]]:17: error: expected an immediate
8 ori $
4, $
4, (start
- .)
10 # CHECK: [[#@LINE+1]]:18: error: expected an immediate
12 # CHECK: [[#@LINE+1]]:19: error: expected an immediate
13 addiu $
4, $
4, (start
- .)