aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/x86_instructions.s5
-rw-r--r--test/MC/AsmParser/x86_operands.s2
2 files changed, 6 insertions, 1 deletions
diff --git a/test/MC/AsmParser/x86_instructions.s b/test/MC/AsmParser/x86_instructions.s
new file mode 100644
index 0000000..71f98f0
--- /dev/null
+++ b/test/MC/AsmParser/x86_instructions.s
@@ -0,0 +1,5 @@
+// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
+
+# Simple instructions
+ subb %al, %al
+# CHECK: MCInst(opcode=1831, operands=[reg:2, reg:0, reg:2])
diff --git a/test/MC/AsmParser/x86_operands.s b/test/MC/AsmParser/x86_operands.s
index 1d31097..c6f886b 100644
--- a/test/MC/AsmParser/x86_operands.s
+++ b/test/MC/AsmParser/x86_operands.s
@@ -1,6 +1,6 @@
// FIXME: Actually test that we get the expected results.
-// RUN: llvm-mc -triple i386-unknown-unknown %s > %t
+// RUN: llvm-mc -triple i386-unknown-unknown %s > %t 2> %t2
# Immediates
push $1