fpc/tests/test/tatomic4.pp
2024-12-12 22:05:15 +01:00

13 lines
128 B
ObjectPascal

{ %FAIL }
program tatomic4;
type
TEnum = (teOne, teTwo, teThree);
var
e: TEnum = teOne;
begin
AtomicIncrement(e);
end.