pascalabcnet/TestSuite/intellisense_tests/ispattern4.pas

7 lines
169 B
ObjectPascal
Raw Permalink Normal View History

2019-04-10 22:00:08 +03:00
function f1(o: object) :=
(o is byte(var b)) and (b{@var b: byte;@}=5);
begin
var o: object := byte(5);
if (o is byte(var b)) and (b{@var b: byte;@}=5) then
end.