mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-29 03:13:41 +02:00
18 lines
232 B
ObjectPascal
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.
|