summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbf/tw13971a.pp
blob: 8a3c288e78478de68cf1d1cbfbec305e11531135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ %fail }

{$ifdef fpc}
{$mode objfpc}
{$endif}

type
  tc = class
    function getx(i: longint): longint;
    property prop[i: longint]: longint read getx;
    default: longint;
  end;

function tc.getx(i: longint): longint;
begin
end;

begin
end.