aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips-register-names-invalid.s
blob: e6f8416a41ebf1741525f090f86bf7cbcc1ea908 (plain)
1
2
3
4
5
6
7
8
# RUN: not llvm-mc %s -triple=mips-unknown-freebsd -show-encoding 2>%t0
# RUN: FileCheck %s < %t0

# $32 used to trigger an assertion instead of the usual error message due to
# an off-by-one bug.

# CHECK: :[[@LINE+1]]:17: error: invalid operand for instruction
        add     $32, $0, $0