aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/labels.s
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-05-05 23:51:28 +0000
committerChris Lattner <sabre@nondot.org>2010-05-05 23:51:28 +0000
commit851f87c6c98af936ba68c5ca8962df3832f8a5fc (patch)
tree8e3733b4c3089c1d81c6dd7338acd6c09c46d4c3 /test/MC/AsmParser/labels.s
parent29402132f3e890a2771818f44987ede213297431 (diff)
downloadexternal_llvm-851f87c6c98af936ba68c5ca8962df3832f8a5fc.zip
external_llvm-851f87c6c98af936ba68c5ca8962df3832f8a5fc.tar.gz
external_llvm-851f87c6c98af936ba68c5ca8962df3832f8a5fc.tar.bz2
fix rdar://7946934 - in some limited cases, the assembler should
allow $ at the start of a symbol name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser/labels.s')
-rw-r--r--test/MC/AsmParser/labels.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/AsmParser/labels.s b/test/MC/AsmParser/labels.s
index 3bc7e63..c5a064f 100644
--- a/test/MC/AsmParser/labels.s
+++ b/test/MC/AsmParser/labels.s
@@ -57,3 +57,10 @@ foo:
// CHECK: .long "a 9"
.long "a 9"
+
+
+// rdar://7946934
+// CHECK: .globl $abc
+ .globl $abc
+
+ \ No newline at end of file