mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-25 17:59:06 +02:00
18 lines
200 B
ObjectPascal
18 lines
200 B
ObjectPascal
|
|
{$ifdef FPC}
|
|
{$PACKRECORDS 1}
|
|
{$endif FPC}
|
|
|
|
type
|
|
Time = object
|
|
h,m,s:byte;
|
|
end;
|
|
|
|
var OT:Time;
|
|
l : longint;
|
|
begin
|
|
l:=SizeOf(OT);
|
|
Writeln('Time object size is ',l);
|
|
if l<>3 then halt(1);
|
|
end.
|