mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 05:49:23 +02:00
no message
This commit is contained in:
parent
3c481f1688
commit
6e86fcd1f8
18
tests/webtbf/tw2878.pp
Normal file
18
tests/webtbf/tw2878.pp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{ %fail }
|
||||||
|
{ Source provided for Free Pascal Bug Report 2878 }
|
||||||
|
{ Submitted by "Mattias Gaertner" on 2004-01-04 }
|
||||||
|
{ e-mail: mattias@freepascal.org }
|
||||||
|
program NoClassCheck;
|
||||||
|
|
||||||
|
{$mode objfpc}{$H+}
|
||||||
|
|
||||||
|
uses
|
||||||
|
Classes;
|
||||||
|
|
||||||
|
var
|
||||||
|
APersistent: TPersistent;
|
||||||
|
AnObject: TObject;
|
||||||
|
begin
|
||||||
|
AnObject:=nil;
|
||||||
|
APersistent:=AnObject; // Should need a typecast
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user