* runtime check added

This commit is contained in:
peter 2003-01-31 22:18:08 +00:00
parent b809c662e4
commit b4f01df991

View File

@ -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.