fpc/tests/tbf/tw39485.pp
2021-12-16 22:27:38 +01:00

21 lines
268 B
ObjectPascal

{ %fail }
program Project1;
{$mode objfpc}{$H+}{$Interfaces CORBA}
type
ITest = interface
end;
TBar = class;
TFoo = class(TObject, ITest)
Fa: TBar;
property a: TBar read Fa implements ITest;
end;
TBar = class(TObject, ITest)
end;
begin
end.