tbf0352.pp 212 B

123456789101112131415
  1. {$ifdef fpc}{$MODE OBJFPC}{$endif}
  2. Procedure Proc1(args:array of const);
  3. begin
  4. end;
  5. Procedure Proc2(args:array of longint);
  6. Begin
  7. { this should give an error }
  8. Proc1(args);
  9. End;
  10. Begin
  11. Proc1([0,1]);
  12. End.