summaryrefslogtreecommitdiff
path: root/tests/webtbf/tw2752.pp
blob: c1fa1e176c4b76c00c8a36035a4ec133d58dfb8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ %fail }
{ %opt=-Sew -vw }

{ 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.