summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/loc-3.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mmix/loc-3.s')
-rw-r--r--gas/testsuite/gas/mmix/loc-3.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mmix/loc-3.s b/gas/testsuite/gas/mmix/loc-3.s
new file mode 100644
index 0000000000..92943b99a1
--- /dev/null
+++ b/gas/testsuite/gas/mmix/loc-3.s
@@ -0,0 +1,14 @@
+# Check that a little bit of LOC:ing back and forward between code and
+# data section doesn't hurt.
+ LOC #20 << 56
+a TETRA 4*4
+
+ LOC #200
+ SWYM 911
+Main SWYM 9,1,1
+
+ LOC a+4
+ TETRA 8*8
+
+ LOC Main+4
+ SWYM 101