llvm.org GIT mirror llvm / 2edda52 test / MC / ARM / cmp-immediate-fixup-error2.s
2edda52

Tree @2edda52 (Download .tar.gz)

cmp-immediate-fixup-error2.s @2edda52raw · history · blame

1
2
3
4
5
6
7
@ RUN: not llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s

.text
    cmp r0, #(l1 - unknownLabel)
@ CHECK: error: symbol 'unknownLabel' can not be undefined in a subtraction expression

l1: