mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
1410f7ffc6
This is implemented by handling assignments to the '.' pseudo symbol as ".org" directives. Differential Revision: http://llvm-reviews.chandlerc.com/D2625 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201530 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
189 B
ArmAsm
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
|