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