summaryrefslogtreecommitdiff
path: root/test/MC/Mips/mt/invalid-wrong-error.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Mips/mt/invalid-wrong-error.s')
-rw-r--r--test/MC/Mips/mt/invalid-wrong-error.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/Mips/mt/invalid-wrong-error.s b/test/MC/Mips/mt/invalid-wrong-error.s
new file mode 100644
index 0000000000000..6de852cf0cbe3
--- /dev/null
+++ b/test/MC/Mips/mt/invalid-wrong-error.s
@@ -0,0 +1,4 @@
+# RUN: not llvm-mc -arch=mips -mcpu=mips32r2 -mattr=+mt < %s 2>%t1
+# RUN: FileCheck %s < %t1
+ mftr 0($4), $5, 0, 0, 0 # CHECK: error: unexpected token in argument list
+ mttr 0($4), $5, 0, 0, 0 # CHECK: error: unexpected token in argument list