summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/builtin1.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mmix/builtin1.s')
-rw-r--r--gas/testsuite/gas/mmix/builtin1.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mmix/builtin1.s b/gas/testsuite/gas/mmix/builtin1.s
new file mode 100644
index 00000000000..6c7c282b853
--- /dev/null
+++ b/gas/testsuite/gas/mmix/builtin1.s
@@ -0,0 +1,8 @@
+# When disallowing built-in names, we have to treat GET and PUT
+# specially, so when parsing the special register operand we do
+# not use the symbol table.
+rJ IS 20
+Main GET $5,rJ
+ GET $6,:rJ
+ PUT rJ,$7
+ PUT :rJ,$8