summaryrefslogtreecommitdiff
path: root/test/MC/Markup/basic-markup.mc
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-10-31 23:24:13 +0000
committerJim Grosbach <grosbach@apple.com>2012-10-31 23:24:13 +0000
commit7dd4dc88921421cd2a1e6c1711689d5993106767 (patch)
tree0e52ec02d0fb18ca328f4b28ff7e8bd832865dc6 /test/MC/Markup/basic-markup.mc
parenta5526a9bffbd62a14d576f583c206a8a781cc2f1 (diff)
MC: Simple example parser for MC assembly markup.
Nothing fancy, just a simple demonstration parser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Markup/basic-markup.mc')
-rw-r--r--test/MC/Markup/basic-markup.mc16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/Markup/basic-markup.mc b/test/MC/Markup/basic-markup.mc
new file mode 100644
index 00000000000..2fa5ebb28fa
--- /dev/null
+++ b/test/MC/Markup/basic-markup.mc
@@ -0,0 +1,16 @@
+// RUN: llvm-mcmarkup %s | FileCheck %s
+
+ push {<reg:r1>, <reg:r2>, <reg:r7>}
+ sub <reg:sp>, <imm:#132>
+ ldr <reg:r0>, <mem:[<reg:r0>, <imm:#4>]>
+
+
+// CHECK: reg
+// CHECK: reg
+// CHECK: reg
+// CHECK: reg
+// CHECK: imm
+// CHECK: reg
+// CHECK: mem
+// CHECK: reg
+// CHECK: imm