llvm-project/llvm/test/MC/AsmParser/dot-symbol-non-absolute.s

10 lines
189 B
ArmAsm

# RUN: not llvm-mc -filetype=obj -triple i386-unknown-unknown %s 2> %t
# RUN: FileCheck -input-file %t %s
.extern foo
# CHECK: error: expected absolute expression
. = foo + 10
.byte 1