reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
# 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