summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbf/tw2721.pp
blob: bd6637d9362602c3db9c4de29d0d02ce9ae199c6 (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
28
29
{ %fail }

{ Source provided for Free Pascal Bug Report 2721 }
{ Submitted by "marcov" on  2003-10-07 }
{ e-mail:  }
{$mode Delphi}

type
  TIntfPersistent = class
  public
    function _Release: Integer; virtual; cdecl;
    end;

  t2 = class(Tintfpersistent)
    public
     // Different calling convention
     function _Release: Integer; override; stdcall;
    end;

function TIntfPersistent._Release: Integer;
begin
end;

function t2._Release: Integer;
begin
end;

begin
end.