mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 07:48:08 +02:00
21 lines
260 B
ObjectPascal
21 lines
260 B
ObjectPascal
{$ifdef fpc}
|
|
{$mode objfpc}
|
|
{$endif}
|
|
uses
|
|
Classes;
|
|
|
|
type
|
|
TMyStringList = type TStringlist;
|
|
|
|
var
|
|
list : TMyStringList;
|
|
|
|
begin
|
|
TMyStringList.Create.Free;
|
|
if pointer(TMyStringList)<>pointer(TStringList) then
|
|
halt(1);
|
|
writeln('ok');
|
|
end.
|
|
|
|
|