fpc/tests/webtbf/tw9039d.pp
Jonas Maebe c77d74127b * fixed some record size checks
(some are still broken, but can't be fixed currently because
    def.size/sym.getsize return an aint, which means low(aint)
    in case of structures with a size = high(aint)+1)

git-svn-id: trunk@7614 -
2007-06-09 19:48:14 +00:00

13 lines
189 B
ObjectPascal

type
ta = array[1..high(ptrint) div 8-1] of byte;
tr = bitpacked record
a: byte;
case byte of
0: (l: longint);
1: (e: ta);
end;
begin
writeln(sizeof(ta));
end.