Test PeterZ-No-Synchro

C PeterZ-Naked
Hash=57aed0bef973c49f01fbe7a73b5c4767

{}


P0(int* x,int* y) {
  WRITE_ONCE(*x,1);
  int r0 = READ_ONCE(*y);
}

P1(int* y,int* z) {
  WRITE_ONCE(*y,1);
  smp_store_release(z,1) ;
}

P2(int* x,int* z) {
  int r0 = smp_load_acquire(z);
  int r1 = READ_ONCE(*x);
}

exists (0:r0=0 /\ 2:r0=1 /\ 2:r1=0)

C11 equivalent: c11-prop-src/C-PeterZ-Naked.litmus