mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 22:47:54 +02:00
26 lines
285 B
ObjectPascal
26 lines
285 B
ObjectPascal
program tw18610;
|
|
|
|
{$mode delphi}{$H+}
|
|
|
|
type
|
|
IInt = interface
|
|
procedure Test;
|
|
end;
|
|
|
|
TParent = class
|
|
private
|
|
type
|
|
TChild = class(TInterfacedObject, IInt)
|
|
public
|
|
procedure Test;
|
|
end;
|
|
end;
|
|
|
|
procedure TParent.TChild.Test;
|
|
begin
|
|
end;
|
|
|
|
|
|
begin
|
|
end.
|