summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/err-bspec-4.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mmix/err-bspec-4.s')
-rw-r--r--gas/testsuite/gas/mmix/err-bspec-4.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mmix/err-bspec-4.s b/gas/testsuite/gas/mmix/err-bspec-4.s
new file mode 100644
index 0000000000..a4ce11b646
--- /dev/null
+++ b/gas/testsuite/gas/mmix/err-bspec-4.s
@@ -0,0 +1,7 @@
+% { dg-do assemble { target mmix-*-* } }
+Main SET $45,23
+ BSPEC 2
+ TETRA 4
+ ESPEC
+ TETRA 5
+ ESPEC % { dg-error "ESPEC without preceding BSPEC" "" }