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.
30 lines
678 B
30 lines
678 B
4 months ago
|
# RUN: not llvm-mc %s -triple=mips-unknown-unknown -mcpu=mips32 2>%t1
|
||
|
# RUN: FileCheck %s < %t1
|
||
|
|
||
|
.set at~
|
||
|
# CHECK: error: unexpected token, expected equals sign
|
||
|
|
||
|
.set at=
|
||
|
# CHECK: error: no register specified
|
||
|
|
||
|
.set at=~
|
||
|
# CHECK: error: unexpected token, expected dollar sign '$'
|
||
|
|
||
|
.set at=$
|
||
|
# CHECK: error: unexpected token, expected identifier or integer
|
||
|
|
||
|
.set at=$-4
|
||
|
# CHECK: error: unexpected token, expected identifier or integer
|
||
|
|
||
|
.set at=$1000
|
||
|
# CHECK: error: invalid register
|
||
|
|
||
|
.set at=$foo
|
||
|
# CHECK: error: invalid register
|
||
|
|
||
|
.set at=$2bar
|
||
|
# CHECK: error: unexpected token, expected end of statement
|
||
|
|
||
|
.set noat bar
|
||
|
# CHECK: error: unexpected token, expected end of statement
|