aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/assignment.s
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-25 21:56:11 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-25 21:56:11 +0000
commitfca5d344b2fa2861eb6be5bd889e6962b1931247 (patch)
tree754d486c28381babd3895f5719531ef58577bcbd /test/MC/AsmParser/assignment.s
parentaf2e171ebd55b8d23acf8e63f2065ccb9a4e4394 (diff)
downloadexternal_llvm-fca5d344b2fa2861eb6be5bd889e6962b1931247.zip
external_llvm-fca5d344b2fa2861eb6be5bd889e6962b1931247.tar.gz
external_llvm-fca5d344b2fa2861eb6be5bd889e6962b1931247.tar.bz2
MC: Parse .set and assignments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser/assignment.s')
-rw-r--r--test/MC/AsmParser/assignment.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/AsmParser/assignment.s b/test/MC/AsmParser/assignment.s
new file mode 100644
index 0000000..8e6ff34
--- /dev/null
+++ b/test/MC/AsmParser/assignment.s
@@ -0,0 +1,7 @@
+# RUN: llvm-mc %s > %t
+
+# RUN: grep -A 2 TEST0 %t > %t2
+# RUN: grep "a = 0" %t2
+TEST0:
+ a = 0
+ \ No newline at end of file