Browse Source

no message

florian 21 years ago
parent
commit
6e86fcd1f8
1 changed files with 18 additions and 0 deletions
  1. 18 0
      tests/webtbf/tw2878.pp

+ 18 - 0
tests/webtbf/tw2878.pp

@@ -0,0 +1,18 @@
+{ %fail }
+{ Source provided for Free Pascal Bug Report 2878 }
+{ Submitted by "Mattias Gaertner" on  2004-01-04 }
+{ e-mail: [email protected] }
+program NoClassCheck;
+
+{$mode objfpc}{$H+}
+
+uses
+  Classes;
+
+var
+  APersistent: TPersistent;
+  AnObject: TObject;
+begin
+  AnObject:=nil;
+  APersistent:=AnObject; // Should need a typecast
+end.