1 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>%t1
2 # RUN: FileCheck %s < %t1 --check-prefix=32-BIT
3 # RUN: not llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi n32 2>&1 | \
4 # RUN: FileCheck %s --check-prefix=64-BIT
5 # RUN: not llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi n64 2>&1 | \
6 # RUN: FileCheck %s --check-prefix=64-BIT
10 # 32-BIT: :[[@LINE-1]]:10: error: expected 32-bit immediate
11 # 64-BIT: :[[@LINE-2]]:10: error: expected 32-bit immediate