tb0021.pp 367 B

12345678910111213141516171819202122232425
  1. { %FAIL }
  2. { Old file: tbf0117.pp }
  3. { internalerror 17 (and why is there an automatic float OK 0.99.6 (FK) }
  4. var
  5. i: word;
  6. j: integer;
  7. Begin
  8. i:=65530;
  9. i:=i+1; { CF check }
  10. i:=i-1;
  11. i:=i*5;
  12. i:=i/5;
  13. i:=i shl 5;
  14. i:=i shr 5;
  15. Inc(i); { no check }
  16. j:=32765; { OV check }
  17. j:=j+1;
  18. inc(j);
  19. j:=j-1;
  20. j:=j*5;
  21. j:=j div 5;
  22. j:=j shl 5;
  23. j:=j shr 5;
  24. end.