* new bug

This commit is contained in:
peter 2004-02-03 21:34:19 +00:00
parent 663fa583d9
commit 8ad943d999
2 changed files with 45 additions and 0 deletions

21
tests/webtbs/tw2920.pp Normal file
View File

@ -0,0 +1,21 @@
unit tw2920;
interface
{$mode Delphi}
Uses uw2920;
type myclass2= class(myclass)
function bb:string; override;
end;
implementation
function myclass2.bb:string;
begin
bb:='b';
end;
begin
end.

24
tests/webtbs/uw2920.pp Normal file
View File

@ -0,0 +1,24 @@
{ Source provided for Free Pascal Bug Report 2920 }
{ Submitted by "marco (Gory Bugs Department)" on 2004-01-27 }
{ e-mail: }
unit uw2920;
interface
{$mode Delphi}
{$H+}
type myclass= class
function bb:string; virtual;
end;
implementation
function myclass.bb:string;
begin
bb:='a';
end;
begin
end.