ub0155.pp 414 B

123456789101112131415161718192021222324252627282930
  1. { Old file: tbs0181a.pp }
  2. { }
  3. { shows a problem of name mangling }
  4. Unit ub0155;
  5. Interface
  6. type mylongint = longint;
  7. mylongint2 = mylongint;
  8. procedure dummy(var l : mylongint);
  9. Implementation
  10. var l : longint;
  11. procedure use_before_implemented;
  12. begin
  13. dummy(l);
  14. end;
  15. procedure dummy(var l : mylongint2);
  16. begin
  17. l:=78;
  18. end;
  19. begin
  20. use_before_implemented;
  21. end.