summaryrefslogtreecommitdiff
path: root/tools/memory-model/litmus-tests/CoWW+poonceonce.litmus
blob: 32a96b832021be87c9cc89059a029a4166de8fc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
C CoWW+poonceonce

{}

P0(int *x)
{
	WRITE_ONCE(*x, 1);
	WRITE_ONCE(*x, 2);
}

exists (x=1)