summaryrefslogtreecommitdiff
path: root/tests/webtbf/tw3480.pp
blob: 0f42d082ebdbdb09496cba2e3937c8796d6842af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ %fail }

{ Source provided for Free Pascal Bug Report 3480 }
{ Submitted by "Danny Milosavljevic" on  2004-12-26 }
{ e-mail: danny_milo@yahoo.com }
program z;

{$ifdef fpc}{$mode delphi}{$endif}

type
  IBla = interface
  function X: Boolean;
  end;

  TBla = class(TInterfacedObject, IBla, IInterface)
  public
  class function X: Boolean;
  end;

class function TBLA.X: Boolean;
begin

end;

begin
  TBla.X;
end.