uprec7.pp 382 B

12345678910111213141516171819
  1. { from GPC testsuite (martin3v.pas) }
  2. {$bitpacking on}
  3. Unit uprec7;
  4. Interface
  5. Type TRecord = packed Record
  6. a, b, c, d, e, f, g, h, i: Boolean
  7. end;
  8. Var ARecord:TRecord = (a: False; b: True; c: True; d: True; e: False;
  9. f: True; g: False; h: False; i: True);
  10. s: Integer;
  11. Implementation
  12. Begin
  13. s := SizeOf (TRecord)
  14. end.