fpc/tests/test/uprec6.pp
Jonas Maebe 1f42ee201b + support for bitpacked records, except for:
* rtti
    * typed constants

git-svn-id: trunk@4489 -
2006-08-23 15:44:13 +00:00

23 lines
378 B
ObjectPascal

{$bitpacking+}
{ from gpc testsuite (martin3u.pas) }
Unit uprec6;
Interface
Const MaxA=5;
MaxB=62;
Type TPackedBoolean=Packed Array[1..MaxA] of Packed Array[1..MaxB] of Boolean;
TRecord = Record
C:Integer;
PackedBoolean:TPackedBoolean;
D:Integer;
End;
Var ARecord:TRecord;
Implementation
End.