2
0

bug0140.pp 323 B

123456789101112131415161718192021
  1. unit bug0140;
  2. {
  3. The first compilation runs fine.
  4. A second compilation (i.e; .ppu files exist already) crashes the compiler !!
  5. }
  6. interface
  7. type
  8. TObject = object
  9. constructor Init(aPar:byte);
  10. end;
  11. implementation
  12. uses bug0140a;
  13. constructor TObject.Init(aPar:byte);
  14. begin
  15. if aPar=0 then Message(Self);
  16. end;
  17. end.