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.

14 lines
559 B

# RUN: not llvm-mc -triple=mips-unknown-linux-gnu %s 2>&1 | FileCheck %s
# RUN: not llvm-mc -triple=mips64-unknown-linux-gnuabin32 %s 2>&1 | FileCheck %s
# RUN: not llvm-mc -triple=mips64-unknown-linux-gnu %s 2>&1 | FileCheck %s
.text
.cpadd $32
# CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid register
.cpadd $foo
# CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: expected register
.cpadd bar
# CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: expected register
.cpadd $25 foobar
# CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: unexpected token, expected end of statement