summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/greg9.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mmix/greg9.s')
-rw-r--r--gas/testsuite/gas/mmix/greg9.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mmix/greg9.s b/gas/testsuite/gas/mmix/greg9.s
new file mode 100644
index 0000000000..dfbb1859ef
--- /dev/null
+++ b/gas/testsuite/gas/mmix/greg9.s
@@ -0,0 +1,8 @@
+% Check that we can allocate max number of GREGs.
+% A bit cheesy: we allocate anonymous GREGs with no handle. This isn't
+% generally useful, but it helps keeping the number of lines down, and we
+% check that the right thing happened in the object file.
+Main SWYM 0
+ .rept 222
+ GREG
+ .endr