summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/err-loc-4.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mmix/err-loc-4.s')
-rw-r--r--gas/testsuite/gas/mmix/err-loc-4.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mmix/err-loc-4.s b/gas/testsuite/gas/mmix/err-loc-4.s
new file mode 100644
index 0000000000..c5cabe1e60
--- /dev/null
+++ b/gas/testsuite/gas/mmix/err-loc-4.s
@@ -0,0 +1,4 @@
+% { dg-do assemble { target mmix-*-* } }
+ LOC #201
+ WYDE 1
+ SWYM 1 % { dg-error "specified location wasn't TETRA-aligned" "" }