mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 10:38:16 +02:00
12 lines
114 B
ObjectPascal
12 lines
114 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tatomic5;
|
|
|
|
var
|
|
i: LongInt = 42;
|
|
x: LongInt;
|
|
begin
|
|
AtomicCmpExchange(i, 42, 42, x);
|
|
end.
|
|
|