mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 14:10:22 +02:00
* runtime check added
This commit is contained in:
parent
b809c662e4
commit
b4f01df991
@ -13,7 +13,15 @@ Begin
|
||||
Exit(TypeOf(Self));
|
||||
End;
|
||||
|
||||
var
|
||||
l : longint;
|
||||
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user