blob: 68f97c441c7c0f6b1b5a712e7a38edd25c74fbb2 [file] [log] [blame]
% { dg-do assemble { target mmix-*-* } }
% { dg-options "-no-predefined-syms" }
% 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. Make sure an error is emitted for
% invalid registers despite there being a valid user label and
% the construct being valid without the -no-builtin-syms option.
% FIXME: Another option? Or is this just the consequence?
RJ IS 4
other IS 20
Main GET $5,RJ % { dg-error "invalid operands" "" }
PUT other,$7 % { dg-error "invalid operands" "" }
GET garbage % { dg-error "invalid operands" "" }
PUT garbage % { dg-error "invalid operands" "" }