talign.pp 623 B

12345678910111213141516171819202122232425262728293031323334353637
  1. { This is just a small file used to verify the alignment of different
  2. structures. Only the assembler output should be checked.
  3. }
  4. {$mode objfpc}
  5. type
  6. tmyclass = class
  7. s: ansistring;
  8. f: real;
  9. end;
  10. {$M+}
  11. tmyotherclass = class(tmyclass)
  12. public
  13. procedure tito(var Msg); message 'hello';
  14. procedure titi(var Msg); message 12;
  15. published
  16. procedure published_method;
  17. end;
  18. procedure tmyotherclass.tito(var Msg);
  19. begin
  20. end;
  21. procedure tmyotherclass.titi(var Msg);
  22. begin
  23. end;
  24. procedure tmyotherclass.published_method;
  25. begin
  26. end;
  27. var
  28. c: tmyclass;
  29. Begin
  30. end.