mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 10:28:16 +02:00
19 lines
249 B
ObjectPascal
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.
|