fpc/tests/tbs/tb0368.pp
2001-08-05 12:23:31 +00:00

18 lines
232 B
ObjectPascal

type
tproc = procedure of object;
trec = record
l1,l2 : longint;
end;
var
pfn : tproc;
begin
pfn:=nil;
if (trec(pfn).l1<>0) or
(trec(pfn).l2<>0) then
begin
writeln('Error!');
halt(1);
end;
end.