mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-26 21:08:18 +02:00
19 lines
268 B
ObjectPascal
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.
|
|
|
|
|