mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:19:25 +02:00
* new bug
This commit is contained in:
parent
e7ae580469
commit
738dd0f3e0
27
tests/webtbs/tw2752.pp
Normal file
27
tests/webtbs/tw2752.pp
Normal file
@ -0,0 +1,27 @@
|
||||
{ %opt=-Sew }
|
||||
|
||||
{ Source provided for Free Pascal Bug Report 2752 }
|
||||
{ Submitted by "Micha" on 2003-10-26 }
|
||||
{ e-mail: }
|
||||
program Construct;
|
||||
|
||||
{$mode delphi}
|
||||
|
||||
type
|
||||
|
||||
tb = class
|
||||
public
|
||||
constructor Create(a: tobject);
|
||||
end;
|
||||
|
||||
constructor tb.create(a: tobject);
|
||||
begin
|
||||
end;
|
||||
|
||||
var
|
||||
b,c: tb;
|
||||
|
||||
begin
|
||||
b := tb.create(b);
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user