aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips2/invalid-mips32r2-xfail.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Mips/mips2/invalid-mips32r2-xfail.s')
-rw-r--r--test/MC/Mips/mips2/invalid-mips32r2-xfail.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/Mips/mips2/invalid-mips32r2-xfail.s b/test/MC/Mips/mips2/invalid-mips32r2-xfail.s
new file mode 100644
index 0000000..073f777
--- /dev/null
+++ b/test/MC/Mips/mips2/invalid-mips32r2-xfail.s
@@ -0,0 +1,11 @@
+# Instructions that are supposed to be invalid but currently aren't
+# This test will XPASS if any insn stops assembling.
+#
+# RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips2 \
+# RUN: 2> %t1
+# RUN: not FileCheck %s < %t1
+# XFAIL: *
+
+# CHECK-NOT: error
+ .set noat
+ rdhwr $sp,$11