raz / test / msg / PtrVolatile.err

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

1conform/err/PtrVolatile.raz:8:21: error: PTR can't take an array through a volatile pointer
2 8 | p := SYSTEM.PTR(v^);
3 | ^^
4help: ADR(v^[0]) is the address of its first element, a ^VOLATILE U32
5raz: 1 error