Overflow checking does not work
Original Reporter info from Mantis: helbig
-
Reporter name: Wolfgang Helbig
Original Reporter info from Mantis: helbig
- Reporter name: Wolfgang Helbig
Description:
I expected the program ov to print the message "overflow at xxx", but it ends quietly!
{$Q+}
program ov (output);
var i: integer;
begin
i:=1;
while i > 0 do i := i+i;
end.
Steps to reproduce:
Compile and run the above program and notice that no overflow message is printed.
Mantis conversion info:
- Mantis ID: 37788
- OS: Mac OS X
- OS Build: 10.11
- Platform: iMac
- Version: 3.2.0
- Monitored by: » helbig (Wolfgang Helbig)