tb0377.pp 204 B

1234567891011121314
  1. {$ifdef fpc}{$mode tp}{$endif}
  2. var
  3. i : longint;
  4. j : word;
  5. begin
  6. j:=5;
  7. i:=-1;
  8. { this is allowed in tp7 }
  9. byte(i):=j;
  10. writeln('i: ',i,' (should be -251)');
  11. if i<>-251 then
  12. halt(1);
  13. end.