aboutsummaryrefslogtreecommitdiff
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.s3
1 files changed, 3 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 000000000000..0247089b70ae
--- /dev/null
+++ b/test/MC/Mips/mt/invalid-wrong-error.s
@@ -0,0 +1,3 @@
+# RUN: not llvm-mc -arch=mips -mcpu=mips32r2 -mattr=+mt < %s 2>&1 | FileCheck %s
+ 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