tw1907.pp 607 B

1234567891011121314151617181920212223242526272829303132333435
  1. { Source provided for Free Pascal Bug Report 1907 }
  2. { Submitted by "Michail A.Baikov" on 2002-03-31 }
  3. { e-mail: [email protected] }
  4. {$ifdef fpc}{$MODE DELPHI}{$endif}
  5. function f:pointer;
  6. begin
  7. f:=nil;
  8. end;
  9. function f1(k:byte):Pointer; cdecl;
  10. begin
  11. result:=f;
  12. end;
  13. var
  14. a:function (k:byte):Pointer; cdecl;
  15. b:function:Pointer;
  16. begin
  17. a:=f1;
  18. b:=a(0);
  19. end.
  20. {
  21. $Log$
  22. Revision 1.3 2002-09-16 19:05:31 peter
  23. * fix compile mode
  24. Revision 1.2 2002/09/07 15:40:59 peter
  25. * old logs removed and tabs fixed
  26. Revision 1.1 2002/04/13 08:05:38 carl
  27. + web bug test #1907
  28. }