mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
81a09cf058
This is implemented by handling assignments to the '.' pseudo symbol as ".org" directives. Differential Revision: http://llvm-reviews.chandlerc.com/D2625 llvm-svn: 201530
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
|