tdivz2.pp 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. { %RESULT=200 }
  2. {****************************************************************}
  3. { CODE GENERATOR TEST PROGRAM }
  4. {****************************************************************}
  5. { NODE TESTED : secondmoddiv() - division by zero test }
  6. {****************************************************************}
  7. { PRE-REQUISITES: secondload() }
  8. { secondassign() }
  9. { secondtypeconv() }
  10. {****************************************************************}
  11. { DEFINES: }
  12. { FPC = Target is FreePascal compiler }
  13. {****************************************************************}
  14. { REMARKS: }
  15. { }
  16. { }
  17. { }
  18. {****************************************************************}
  19. {$ifdef VER70}
  20. {$define TP}
  21. {$endif}
  22. var
  23. longres : longint;
  24. longcnt : longint;
  25. begin
  26. longres := 1;
  27. longcnt := 0;
  28. longres := longres div longcnt;
  29. end.