llvm-6502/test/MC/AsmParser/dot-symbol.s
Anders Waldenborg 1410f7ffc6 Add support for assigning to . in AsmParser.
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
2014-02-17 20:48:32 +00:00

10 lines
295 B
ArmAsm

# Historically 'as' treats '.' as a reference to the current location in
# arbitrary contexts. We don't support this in general.
# RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
# RUN: FileCheck -input-file %t %s
# CHECK: invalid use of pseudo-symbol '.' as a label
.:
.long 0