fpc/tests/webtbs/tw3930.pp
florian c43e2df522 * copying of classes fixed, closes 3930
git-svn-id: trunk@1791 -
2005-11-20 09:11:23 +00:00

19 lines
268 B
ObjectPascal

{$mode objfpc}
uses
classes;
type
TMyStringList = type TStringlist;
var
list : TMyStringList;
begin
list:=TMyStringList.Create;
list.Free;
if pointer(TMyStringList)=pointer(TStringList) then
halt(1);
writeln('ok');
end.