tw3480.pp 417 B

123456789101112131415161718192021222324252627
  1. { %fail }
  2. { Source provided for Free Pascal Bug Report 3480 }
  3. { Submitted by "Danny Milosavljevic" on 2004-12-26 }
  4. { e-mail: [email protected] }
  5. program z;
  6. {$ifdef fpc}{$mode delphi}{$endif}
  7. type
  8. IBla = interface
  9. function X: Boolean;
  10. end;
  11. TBla = class(TInterfacedObject, IBla, IInterface)
  12. public
  13. class function X: Boolean;
  14. end;
  15. class function TBLA.X: Boolean;
  16. begin
  17. end;
  18. begin
  19. TBla.X;
  20. end.