mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 23:30:30 +02:00
* runtime check added
This commit is contained in:
parent
b809c662e4
commit
b4f01df991
@ -13,7 +13,15 @@ Begin
|
|||||||
Exit(TypeOf(Self));
|
Exit(TypeOf(Self));
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
var
|
||||||
|
l : longint;
|
||||||
Begin
|
Begin
|
||||||
WriteLn(Longint(tObject.GetVMT()));
|
l:=Longint(tObject.GetVMT());
|
||||||
|
WriteLn('self in static: ',l);
|
||||||
|
if l<>0 then
|
||||||
|
begin
|
||||||
|
writeln('Error!');
|
||||||
|
halt(1);
|
||||||
|
end;
|
||||||
End.
|
End.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user