tb0008.pp 663 B

1234567891011121314151617181920212223242526272829303132333435
  1. { %FAIL }
  2. { Old file: tbf0075.pp }
  3. { shows invalid pchar output to console OK 0.99.1 }
  4. Unit tbs0075;
  5. Interface
  6. Procedure MyTest;Far; { IMPLEMENTATION expected error. }
  7. { Further information: NEAR IS NOT ALLOWED IN BORLAND PASCAL }
  8. { Therefore the bugfix should only be for the FAR keyword. }
  9. Procedure MySecondTest;
  10. Implementation
  11. { near and far are not allowed here, but maybe we don't care since they are ignored by }
  12. { FPC. }
  13. Procedure MyTest;
  14. Begin
  15. end;
  16. Procedure MySecondTest;Far;Forward;
  17. Procedure MySecondTest;Far;
  18. Begin
  19. end;
  20. end.