fpc/tests/tbs/tb0509.pp
florian 08f72e02f4 + copying of procedure variable defs
git-svn-id: trunk@5277 -
2006-11-07 19:20:12 +00:00

23 lines
216 B
ObjectPascal

type
tp1 = function(var i : longint) : longint;
tp2 = type tp1;
procedure p(f : tp1);
begin
end;
procedure p(f : tp2);
begin
end;
var
f : tp1;
begin
f:=nil;
if assigned(f) then
p(f);
end.