aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/directive-fpu-diagnostics.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/directive-fpu-diagnostics.s')
-rw-r--r--test/MC/ARM/directive-fpu-diagnostics.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/ARM/directive-fpu-diagnostics.s b/test/MC/ARM/directive-fpu-diagnostics.s
new file mode 100644
index 0000000..67c6129
--- /dev/null
+++ b/test/MC/ARM/directive-fpu-diagnostics.s
@@ -0,0 +1,10 @@
+@ RUN: not llvm-mc -triple armv7 -filetype asm -o /dev/null %s 2>&1 \
+@ RUN: | FileCheck %s -strict-whitespace
+
+ .text
+ .thumb
+
+ .fpu invalid
+@ CHECK: error: Unknown FPU name
+@ CHECK: .fpu invalid
+@ CHECK: ^