tb0399.pp 300 B

1234567891011121314151617181920
  1. procedure error;
  2. begin
  3. writeln('Problem with octal constants');
  4. halt(1);
  5. end;
  6. begin
  7. if 8<>&10 then
  8. error;
  9. if 1<>&1 then
  10. error;
  11. if 64<>&100 then
  12. error;
  13. if 33<>&41 then
  14. error;
  15. if 33<>&41 then
  16. error;
  17. if 12345678<>&57060516 then
  18. error;
  19. end.