*** empty log message ***

This commit is contained in:
florian 2000-02-21 22:15:55 +00:00
parent bec2b2a7d5
commit edc1765a62

27
tests/webtbs/tbug819.pp Normal file
View File

@ -0,0 +1,27 @@
{$mode objfpc}
type
T1 = class
function Get(I: Integer): Integer; virtual; abstract;
property T[I: Integer]: Integer read Get; default;
end;
T2 = class(T1)
function Get(I: Integer): Integer; override;
property T[I: Integer]: Integer read Get; default;
end;
function T2.Get(I: Integer): Integer;
begin
Result:=I;
end;
var
c2 : t2;
begin
c2:=t2.create;
if c2[9]<>9 then
halt(1)
else
halt(0);
end.