[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / cmp-immediate-fixup-error2.s
blob71f7fa141e02dcd2f1508e7f5734481fb91a69f8
1 @ RUN: not llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s
3 .text
4 cmp r0, #(l1 - unknownLabel)
5 @ CHECK: error: symbol 'unknownLabel' can not be undefined in a subtraction expression
7 l1: