aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AArch64/arm64-fp-encoding-error.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AArch64/arm64-fp-encoding-error.s')
-rw-r--r--test/MC/AArch64/arm64-fp-encoding-error.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/AArch64/arm64-fp-encoding-error.s b/test/MC/AArch64/arm64-fp-encoding-error.s
new file mode 100644
index 0000000..ad30127
--- /dev/null
+++ b/test/MC/AArch64/arm64-fp-encoding-error.s
@@ -0,0 +1,8 @@
+; RUN: not llvm-mc -triple arm64-apple-ios8.0 %s -o /dev/null 2>&1 | FileCheck %s
+
+ fmov s0, #-0.0
+; CHECK: error: expected compatible register or floating-point constant
+
+ fmov d0, #-0.0
+; CHECK: error: expected compatible register or floating-point constant
+