raz / test / msg / BytesVolatile.err

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

1conform/err/BytesVolatile.raz:8:16: error: BYTES can't take a volatile variable
2 8 | b := BYTES(r^);
3 | ^^
4help: reading and writing its bytes through a slice wouldn't be volatile accesses
5raz: 1 error