mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 09:58:27 +02:00
22 lines
190 B
ObjectPascal
22 lines
190 B
ObjectPascal
uses
|
|
variants;
|
|
|
|
procedure p1(f : single);
|
|
begin
|
|
end;
|
|
|
|
procedure p2(l : longint);
|
|
begin
|
|
end;
|
|
|
|
var
|
|
v : variant;
|
|
l : longint;
|
|
|
|
begin
|
|
v:=1;
|
|
p1(v);
|
|
p2(v);
|
|
l:=v;
|
|
end.
|