2010-01-06 Quentin Neill <quentin.neill@amd.com>
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mmix / err-builtin.s
CommitLineData
3c3bdf30
NC
1% { dg-do assemble { target mmix-*-* } }
2% { dg-options "-no-predefined-syms" }
3% When disallowing built-in names, we have to treat GET and PUT
4% specially, so when parsing the special register operand we do
5% not use the symbol table. Make sure an error is emitted for
6% invalid registers despite there being a valid user label and
7% the construct being valid without the -no-builtin-syms option.
8% FIXME: Another option? Or is this just the consequence?
9RJ IS 4
10other IS 20
11Main GET $5,RJ % { dg-error "invalid operands" "" }
12 PUT other,$7 % { dg-error "invalid operands" "" }
13 GET garbage % { dg-error "invalid operands" "" }
14 PUT garbage % { dg-error "invalid operands" "" }
This page took 0.570522 seconds and 4 git commands to generate.