Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

17 lines
495 B
ArmAsm

@ RUN: not llvm-mc -triple thumb-eabi -mattr=+thumb2 %s -o /dev/null 2>&1 \
@ RUN: | FileCheck %s
@ rdar://14479780
ldrd r0, r0, [pc, #0]
ldrd r0, r0, [r1, #4]
ldrd r0, r0, [r1], #4
ldrd r0, r0, [r1, #4]!
@ CHECK: error: destination operands can't be identical
@ CHECK: error: destination operands can't be identical
@ CHECK: error: destination operands can't be identical
@ CHECK: error: destination operands can't be identical
@ CHECK-NOT: error: destination operands can't be identical