fpc/tests/tbs/tb0368.pp
2013-10-18 15:43:14 +00:00

19 lines
249 B
ObjectPascal

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