llvm-for-llvmta/test/MC/Mips/mips16/invalid.s

11 lines
375 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mc -arch=mips -mcpu=mips32r2 -mattr=+mips16 < %s 2> %t
# RUN: FileCheck %s < %t
# Instructions which are invalid.
$label:
nop 4 # CHECK: :[[@LINE]]:7: error: invalid operand for instruction
nop $4 # CHECK: :[[@LINE]]:7: error: invalid operand for instruction
nop $label # CHECK: :[[@LINE]]:7: error: invalid operand for instruction