summaryrefslogtreecommitdiffstats
path: root/binutils-2.17/gas/testsuite/gas/cris/v32-err-3.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.17/gas/testsuite/gas/cris/v32-err-3.s')
-rw-r--r--binutils-2.17/gas/testsuite/gas/cris/v32-err-3.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/binutils-2.17/gas/testsuite/gas/cris/v32-err-3.s b/binutils-2.17/gas/testsuite/gas/cris/v32-err-3.s
new file mode 100644
index 00000000..4c2d1ec9
--- /dev/null
+++ b/binutils-2.17/gas/testsuite/gas/cris/v32-err-3.s
@@ -0,0 +1,10 @@
+; Error for flags not applicable to current arch.
+; #1: Error for pre-v32 flags for v32.
+; { dg-do assemble }
+; { dg-options " --underscore --march=v32" }
+
+y:
+ clearf d ; { dg-error "(Illegal|Invalid) operands" }
+ setf D ; { dg-error "(Illegal|Invalid) operands" }
+ setf m ; { dg-error "(Illegal|Invalid) operands" }
+ clearf M ; { dg-error "(Illegal|Invalid) operands" }