blob: 5166ff00ec18c4889c6d3c034710b4b3d1714308 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
@ 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
|