original_kernel/tools/memory-model/litmus-tests/CoWW+poonceonce.litmus

12 lines
92 B
Plaintext

C CoWW+poonceonce
{}
P0(int *x)
{
WRITE_ONCE(*x, 1);
WRITE_ONCE(*x, 2);
}
exists (x=1)