* new bug

This commit is contained in:
peter 2004-02-05 16:42:21 +00:00
parent 20469d47a0
commit bef7bf3539

23
tests/webtbs/tw2923.pp Normal file
View File

@ -0,0 +1,23 @@
{ %opt=-O2 -CR }
{ Source provided for Free Pascal Bug Report 2923 }
{ Submitted by "Sergey Kosarevsky" on 2004-01-30 }
{ e-mail: netsurfer@au.ru }
{$mode objfpc}
Type tMyClass=Class
Public
Constructor Init;
End;
Constructor tMyClass.Init;
Begin
Inherited Create;
End; // <- line 9
Var A:tMyClass;
Begin
A:=tMyClass.Init;
End.