raz / test / msg / ViewAdr.err

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

1conform/err/ViewAdr.raz:6:21: error: ADR can't take a view
2 6 | p := SYSTEM.ADR(mem[0].(I64));
3 | ^^^^^^^^^^^^
4help: a view has no address, since it may be misaligned: copy it to a variable
5raz: 1 error