21 lines · plain
1# RUN: not llvm-mc -triple=mips-unknown-linux-gnu %s 2>&1 \2# RUN: | FileCheck -check-prefix=O32 %s3# RUN: not llvm-mc -triple=mips64-unknown-linux-gnuabin32 %s 2>&1 \4# RUN: | FileCheck -check-prefix=NABI %s5# RUN: not llvm-mc -triple=mips64-unknown-linux-gnu %s 2>&1 \6# RUN: | FileCheck -check-prefix=NABI %s7 8 .text9 .cplocal $3210# O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode11# NABI: :[[@LINE-2]]:{{[0-9]+}}: error: invalid register12 .cplocal $foo13# O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode14# NABI: :[[@LINE-2]]:{{[0-9]+}}: error: expected register containing global pointer15 .cplocal bar16# O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode17# NABI: :[[@LINE-2]]:{{[0-9]+}}: error: expected register containing global pointer18 .cplocal $25 foobar19# O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode20# NABI: :[[@LINE-2]]:{{[0-9]+}}: error: unexpected token, expected end of statement21