mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
8 lines
216 B
ArmAsm
8 lines
216 B
ArmAsm
|
@ 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:
|