fpc/tests/tbs/tb0368.pp
2004-05-02 12:59:57 +00:00

18 lines
231 B
ObjectPascal

type
tproc = procedure of object;
trec = record
l1,l2 : ptrint;
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.