llvm-for-llvmta/test/MC/ELF/diff2.s

14 lines
261 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s 2> %t
// RUN: FileCheck -input-file %t %s
.global zed
.data
foo:
.text
nop
bar:
nop
zed:
// CHECK: expected relocatable expression
mov zed+(bar-foo), %eax