diff options
Diffstat (limited to 'test/MC/ARM/invalid-special-reg.s')
-rw-r--r-- | test/MC/ARM/invalid-special-reg.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/ARM/invalid-special-reg.s b/test/MC/ARM/invalid-special-reg.s new file mode 100644 index 0000000000000..2e39fe6e250aa --- /dev/null +++ b/test/MC/ARM/invalid-special-reg.s @@ -0,0 +1,11 @@ +@ RUN: not llvm-mc -triple armv7a--none-eabi < %s 2>&1 | FileCheck %s +@ RUN: not llvm-mc -triple thumbv7a--none-eabi < %s 2>&1 | FileCheck %s + + msr apsr_c, r0 +@ CHECK: invalid operand for instruction + msr cpsr_w +@ CHECK: invalid operand for instruction + msr cpsr_cc +@ CHECK: invalid operand for instruction + msr xpsr_c +@ CHECK: invalid operand for instruction |