raz / test / msg / AtomicPointer.err

5 lines · 256 B · raw · history · last change 4402a682

1conform/err/AtomicPointer.raz:9:15: error: XADD takes a variable, not a pointer to it
2 9 | _ := XADD(SYSTEM.ADR(n), 1);
3 | ^^^^^^^^^^^^^
4help: give it the variable itself: XADD(n, 1), or XADD(p^, 1) through a pointer
5raz: 1 error