raz / test / msg / ConstAdr.err

5 lines · 287 B · raw · history · last change 264716cb

1conform/err/ConstAdr.raz:6:23: error: r is only read here, and can't be changed
2 6 | return SYSTEM.ADR(r);
3 | ^
4help: a const parameter, a constant, and the names a match gives their fields, are only read: take a var parameter to change it
5raz: 1 error