pascalabcnet/TestSuite/double_question3.pas
Ivan Bondarev c3160fe819 #2579
2021-12-24 15:14:40 +01:00

8 lines
122 B
ObjectPascal

begin
var i: integer?;
var x := i ?? 0;
assert(x.Value = 0);
i := 1;
x := i ?? 0;
assert(x.Value = 1);
end.