mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 13:28:05 +02:00
25 lines
258 B
ObjectPascal
25 lines
258 B
ObjectPascal
{ %fail }
|
|
program IntfDel;
|
|
|
|
{$ifdef fpc}
|
|
{$mode objfpc}
|
|
{$endif fpc}
|
|
|
|
uses
|
|
Classes;
|
|
|
|
type
|
|
IA = interface
|
|
end;
|
|
IB = interface(IA)
|
|
end;
|
|
|
|
TA = class(TObject, IA, IB)
|
|
private
|
|
FA: IA;
|
|
property A: IA read FA implements IA;
|
|
end;
|
|
|
|
begin
|
|
end.
|