C WRC+o-o+o-o Hash=be3369d9fc85f97f5e82d25ee062fc52 {x=0; y=0;} P0(int* y) { WRITE_ONCE(*y,1); } P1(int* x,int* y) { int r3 = READ_ONCE(*y); WRITE_ONCE(*x,1); } P2(int* x,int* y) { int r1 = READ_ONCE(*x); int r2 = READ_ONCE(*y); } exists (1:r3=1 /\ 2:r1=1 /\ 2:r2=0)
C11 equivalent: c11-prop-src/wrc+o-o+o-o.litmus