浏览代码

* new bug

peter 22 年之前
父节点
当前提交
738dd0f3e0
共有 1 个文件被更改,包括 27 次插入0 次删除
  1. 27 0
      tests/webtbs/tw2752.pp

+ 27 - 0
tests/webtbs/tw2752.pp

@@ -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.
+