[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / Mips / cplocal-bad.s
blob0236fdb34db12852cdcbec5cc92445dd3ca63b18
1 # RUN: not llvm-mc -triple=mips-unknown-linux-gnu %s 2>&1 \
2 # RUN: | FileCheck -check-prefix=O32 %s
3 # RUN: not llvm-mc -triple=mips64-unknown-linux-gnuabin32 %s 2>&1 \
4 # RUN: | FileCheck -check-prefix=NABI %s
5 # RUN: not llvm-mc -triple=mips64-unknown-linux-gnu %s 2>&1 \
6 # RUN: | FileCheck -check-prefix=NABI %s
8 .text
9 .cplocal $32
10 # O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode
11 # NABI: :[[@LINE-2]]:{{[0-9]+}}: error: invalid register
12 .cplocal $foo
13 # O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode
14 # NABI: :[[@LINE-2]]:{{[0-9]+}}: error: expected register containing global pointer
15 .cplocal bar
16 # O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode
17 # NABI: :[[@LINE-2]]:{{[0-9]+}}: error: expected register containing global pointer
18 .cplocal $25 foobar
19 # O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode
20 # NABI: :[[@LINE-2]]:{{[0-9]+}}: error: unexpected token, expected end of statement