Home | History | Annotate | Download | only in ARM
      1 @ RUN: not llvm-mc -triple thumb-eabi -mattr=+thumb2 %s -o /dev/null 2>&1 \
      2 @ RUN:	  | FileCheck %s
      3 
      4 @ rdar://14479780
      5 
      6 ldrd r0, r0, [pc, #0]
      7 ldrd r0, r0, [r1, #4]
      8 ldrd r0, r0, [r1], #4
      9 ldrd r0, r0, [r1, #4]!
     10 
     11 @ CHECK: error: destination operands can't be identical
     12 @ CHECK: error: destination operands can't be identical
     13 @ CHECK: error: destination operands can't be identical
     14 @ CHECK: error: destination operands can't be identical
     15 @ CHECK-NOT: error: destination operands can't be identical
     16 
     17