]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - tools/memory-model/litmus-tests/CoWW+poonceonce.litmus
Merge tag 'drm-next-2020-04-03-1' of git://anongit.freedesktop.org/drm/drm
[mirror_ubuntu-hirsute-kernel.git] / tools / memory-model / litmus-tests / CoWW+poonceonce.litmus
CommitLineData
1c27b644
PM
1C CoWW+poonceonce
2
8f32543b
PM
3(*
4 * Result: Never
5 *
6 * Test of write-write coherence, that is, whether or not two successive
7 * writes to the same variable are ordered.
8 *)
9
1c27b644
PM
10{}
11
12P0(int *x)
13{
14 WRITE_ONCE(*x, 1);
15 WRITE_ONCE(*x, 2);
16}
17
18exists (x=1)