You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
375 B

# 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