[mips] Rewrite MipsAsmParser and MipsOperand.
[oota-llvm.git] / test / MC / Mips / mips-register-names-invalid.s
1 # RUN: not llvm-mc %s -triple=mips-unknown-freebsd -show-encoding 2>%t0
2 # RUN: FileCheck %s < %t0
3
4 # $32 used to trigger an assertion instead of the usual error message due to
5 # an off-by-one bug.
6
7 # CHECK: :[[@LINE+1]]:17: error: invalid operand for instruction
8         add     $32, $0, $0