fpc/tests/webtbs/tw15415.pp
2014-03-09 17:13:40 +00:00

13 lines
155 B
ObjectPascal

{$mode delphi}
type
TMyClass = class
i, i2 :LongInt;
end;
begin
if ptruint(@TMyClass(pointer(5)).i2)<>(5+sizeof(pointer)+4) then
halt(1);
end.