summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/directive_lsym.s
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-07-14 21:35:03 +0000
committerKevin Enderby <enderby@apple.com>2009-07-14 21:35:03 +0000
commit711482476c55f99c34c516f9e035b7c59b00ef42 (patch)
treedde0a4d27bc9fbd9f5c3b641b02e1939de61d024 /test/MC/AsmParser/directive_lsym.s
parent4cb73525a943d69da0f2b0c31c1a1d7f3cdd879d (diff)
downloadllvm-711482476c55f99c34c516f9e035b7c59b00ef42.tar.gz
llvm-711482476c55f99c34c516f9e035b7c59b00ef42.tar.bz2
llvm-711482476c55f99c34c516f9e035b7c59b00ef42.tar.xz
Added llvm-mc support for parsing the .lsym directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser/directive_lsym.s')
-rw-r--r--test/MC/AsmParser/directive_lsym.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_lsym.s b/test/MC/AsmParser/directive_lsym.s
new file mode 100644
index 0000000000..a4437b9a89
--- /dev/null
+++ b/test/MC/AsmParser/directive_lsym.s
@@ -0,0 +1,8 @@
+# RUN: llvm-mc %s | FileCheck %s
+
+# CHECK: TEST0:
+# CHECK: .lsym bar,foo
+# CHECK: .lsym baz,3
+TEST0:
+ .lsym bar, foo
+ .lsym baz, 2+1