raz / test / msg / PtrView.err

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

1conform/err/PtrView.raz:7:21: error: PTR can't take a view
2 7 | p := SYSTEM.PTR(w.([8]U8));
3 | ^^^^^^^^^
4help: a view has no address, since it may be misaligned: copy it to a variable
5raz: 1 error