mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 11:38:25 +02:00
* new bug
This commit is contained in:
parent
20469d47a0
commit
bef7bf3539
23
tests/webtbs/tw2923.pp
Normal file
23
tests/webtbs/tw2923.pp
Normal 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.
|
Loading…
Reference in New Issue
Block a user