aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips64r5/abi-bad.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Mips/mips64r5/abi-bad.s')
-rw-r--r--test/MC/Mips/mips64r5/abi-bad.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/Mips/mips64r5/abi-bad.s b/test/MC/Mips/mips64r5/abi-bad.s
new file mode 100644
index 0000000..c6bb29a
--- /dev/null
+++ b/test/MC/Mips/mips64r5/abi-bad.s
@@ -0,0 +1,5 @@
+# RUN: not llvm-mc %s -triple mips-unknown-linux -mcpu=mips64r5 2>&1 | FileCheck %s
+ .set fp=xx
+# CHECK: error: '.set fp=xx' requires the O32 ABI
+# CHECK: .set fp=xx
+# CHECK: ^