mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 09:09:37 +02:00
27 lines
299 B
ObjectPascal
27 lines
299 B
ObjectPascal
{ %norun }
|
|
program tclass15;
|
|
|
|
{$MODE DELPHI}
|
|
|
|
uses
|
|
Classes;
|
|
|
|
type
|
|
TMyClass=class
|
|
private
|
|
type
|
|
TMyMemoryStream=class(TCustomMemoryStream) end;
|
|
public
|
|
procedure MyProc;
|
|
end;
|
|
|
|
procedure TMyClass.MyProc;
|
|
begin
|
|
with TMyMemoryStream.Create do
|
|
SetPointer(nil,0)
|
|
end;
|
|
|
|
begin
|
|
end.
|
|
|