Browse Source

no message

florian 20 years ago
parent
commit
5d11e3a5a3
1 changed files with 18 additions and 0 deletions
  1. 18 0
      tests/tbf/tb0169.pp

+ 18 - 0
tests/tbf/tb0169.pp

@@ -0,0 +1,18 @@
+{ %fail }
+
+{$mode objfpc}
+
+type
+  ttype=object
+    l1,l2 : pointer;
+  end;
+
+  tcl=class
+  end;
+
+var
+  tt : ttype;
+  c  : tcl;
+begin
+  c:=tcl(tt);
+end.