raz / test / err / DeclAtomicSize.raz

11 lines · 161 B · raw · history · last change 264716cb

1module DeclAtomicSize;
2import SYSTEM;
3proc main*;
4var b: U8;
5var p: ^U8;
6var n: I64;
7begin
8 p := SYSTEM.ADR(b);
9 n := XADD(p, 1);
10end;
11end DeclAtomicSize.