tw2197.pp 514 B

123456789101112131415161718
  1. { %RESULT=123 }
  2. { Source provided for Free Pascal Bug Report 2197 }
  3. { Submitted by "Pavel V.Ozerski" on 2002-10-23 }
  4. { e-mail: [email protected] }
  5. {$APPTYPE CONSOLE}
  6. {modified sample of Vlad Smaglyuk}
  7. procedure Average ({const} Row : Array of byte);
  8. begin
  9. writeln('Procedure body');
  10. end;
  11. BEGIN
  12. writeln('Before call');
  13. Average([1,2,3]);
  14. writeln('After call');
  15. { We need to be sure that the following exitcode is
  16. returned }
  17. runerror(123);
  18. END.