bug0067b.pp 377 B

123456789101112131415161718192021222324252627
  1. unit bug0067b;
  2. interface
  3. type
  4. tlong=record
  5. a : longint;
  6. end;
  7. procedure p(var l:tlong);
  8. implementation
  9. uses bug0067;
  10. { the tlong parameter is taken from unit bug0067,
  11. and not from the interface part of this unit.
  12. setting the uses clause in the interface part
  13. removes the problem }
  14. procedure p(var l:tlong);
  15. begin
  16. bug0067.p(bug0067.tlong(l));
  17. end;
  18. end.