raz / test / err / AtomicPtr.err

5 lines · 204 B · raw · history · last change 4d6f1bca

1test/err/AtomicPtr.raz:5:15: error: XADD works on an INT or a UINT variable, not a pointer
2 5 | _ := XADD(q, 1);
3 | ^
4help: for what the pointer points at, write q^
5raz: 1 error