1@ RUN: not llvm-mc -triple armv7a--none-eabi < %s 2>&1 | FileCheck %s
2@ RUN: not llvm-mc -triple thumbv7a--none-eabi < %s 2>&1 | FileCheck %s
3
4  msr apsr_c, r0
5@ CHECK: invalid operand for instruction
6  msr cpsr_w, r0
7@ CHECK: invalid operand for instruction
8  msr cpsr_cc, r0
9@ CHECK: invalid operand for instruction
10  msr xpsr_c, r0
11@ CHECK: invalid operand for instruction
12