Elide repeated register operand in Thumb1 instructions
[oota-llvm.git] / test / MC / ARM / cmp-immediate-fixup-error.s
1 @ RUN: not llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s
2
3 .text
4     cmp r0, #(l1 - unknownLabel + 4) >> 2
5 @ CHECK: error: expected relocatable expression
6
7 l1: