summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/prefix3.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mmix/prefix3.s')
-rw-r--r--gas/testsuite/gas/mmix/prefix3.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mmix/prefix3.s b/gas/testsuite/gas/mmix/prefix3.s
new file mode 100644
index 0000000000..b597daded1
--- /dev/null
+++ b/gas/testsuite/gas/mmix/prefix3.s
@@ -0,0 +1,9 @@
+% Check that changing prefixes between the GREG definition, its use and
+% the end of the assembly file does not change the GREG definition.
+a1 GREG someplace
+ PREFIX b
+a2 GREG 567890
+ PREFIX c:
+h LDB $255,:a1
+:Main LDB $254,:ba2
+:someplace IS @