aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/set-at-noat-bad-syntax.s
blob: 47f5be74f9ad1f92792ff9c2a62283a6a1532cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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