aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/MC/AsmParser/x86_instructions.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/AsmParser/x86_instructions.s b/test/MC/AsmParser/x86_instructions.s
new file mode 100644
index 0000000000..acffd570de
--- /dev/null
+++ b/test/MC/AsmParser/x86_instructions.s
@@ -0,0 +1,7 @@
+// FIXME: Switch back to FileCheck once we print actual instructions
+
+// RUN: llvm-mc -triple i386-unknown-unknown %s > %t
+
+# Simple instructions
+ subb %al, %al
+// RUN: grep {MCInst(opcode=.*, operands=.reg:2, reg:0, reg:2.)} %t