uprec7.pp 332 B

123456789101112131415161718
  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 = (False, True, True, True, False, True, False, False, True);
  9. s: Integer;
  10. Implementation
  11. Begin
  12. s := SizeOf (TRecord)
  13. end.