summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbf/tw7322.pp
blob: 8fcc41e2708b58fcb9cdf06a3148c4f141057382 (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
{ %fail }

program project1;

{$mode objfpc}{$H+}

type

IExample = interface
  function add(a, b: single): integer; 
end;

{ TExample }

TExample = class (TInterfacedObject, IExample)
  function add(a, b: single): single;
end;

function texample.add(a, b: single): single;
begin
end;

begin
end.