1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/AsmParser/dollars-in-identifiers.s
Daniel Dunbar 7859dfd71b MC/Parser: Accept leading dollar signs in identifiers.
- Implemented by manually splicing the tokens. If this turns out to be
   problematically platform specific, a more elegant solution would be to
   implement some context dependent lexing support.

llvm-svn: 111934
2010-08-24 18:12:12 +00:00

6 lines
112 B
ArmAsm

# RUN: llvm-mc -triple i386-unknown-unknown %s > %t
# RUN: FileCheck < %t %s
// CHECK: .globl $foo
.globl $foo