tw4911.pp 334 B

123456789101112131415
  1. { %fail }
  2. { Source provided for Free Pascal Bug Report 4911 }
  3. { Submitted by "Joost van der Sluis" on 2006-03-17 }
  4. { e-mail: joost at cnoc - nl }
  5. program LongintTest;
  6. {$mode objfpc}{$H+}
  7. var l : longint;
  8. begin
  9. //l := 335544569; Gives an exception in my case
  10. l := 43; // results garbage
  11. writeln('Errpr: ' + l);
  12. end.