Jonas Maebe 20 years ago
parent
commit
e1205ad4e4
1 changed files with 20 additions and 0 deletions
  1. 20 0
      tests/webtbf/tw3740.pp

+ 20 - 0
tests/webtbf/tw3740.pp

@@ -0,0 +1,20 @@
+{ %fail }
+
+program fjf915a;
+
+type
+  t = object
+    constructor Init (a: Boolean);
+  end;
+
+constructor t.Init (a: Boolean);
+begin
+end;
+
+var
+  p: ^t;
+
+begin
+  New (p, Init (Init (False)))  { WRONG }
+end.
+