bug0075.pp 558 B

12345678910111213141516171819202122232425262728293031
  1. Unit bug0068;
  2. Interface
  3. Procedure MyTest;Far; { IMPLEMENTATION expected error. }
  4. { Further information: NEAR IS NOT ALLOWED IN BORLAND PASCAL }
  5. { Therefore the bugfix should only be for the FAR keyword. }
  6. Procedure MySecondTest;
  7. Implementation
  8. { near and far are not allowed here, but maybe we don't care since they are ignored by }
  9. { FPC. }
  10. Procedure MyTest;
  11. Begin
  12. end;
  13. Procedure MySecondTest;Far;Forward;
  14. Procedure MySecondTest;Far;
  15. Begin
  16. end;
  17. end.