tw2268.pp 460 B

12345678910111213141516171819
  1. { Source provided for Free Pascal Bug Report 2268 }
  2. { Submitted by "marco" on 2002-12-19 }
  3. { e-mail: [email protected] }
  4. {$ifdef fpc}{$mode TP}{$endif}
  5. {$F+}
  6. function P1:longint; begin end;
  7. function P2:longint; begin end;
  8. function P3:longint; begin end;
  9. function Help:longint; begin end;
  10. type Fn = function : longint ;
  11. const PArr : array [0..3] of Fn = (Help, P1, P2, P3) ;
  12. procedure bla(const i:longint); begin end;
  13. begin
  14. bla(PArr[Paramcount]);
  15. end.