mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 17:47:56 +02:00
17 lines
212 B
ObjectPascal
17 lines
212 B
ObjectPascal
{$mode objfpc}
|
|
program test;
|
|
|
|
type
|
|
TForm = class(TInterfacedObject)
|
|
a : array[0..1000000] of byte;
|
|
end;
|
|
|
|
TMyForm = class(TForm, IInterface)
|
|
end;
|
|
|
|
var
|
|
i : IInterface;
|
|
begin
|
|
i:=TMyForm.Create;
|
|
end.
|