tw39485.pp 268 B

1234567891011121314151617181920
  1. { %fail }
  2. program Project1;
  3. {$mode objfpc}{$H+}{$Interfaces CORBA}
  4. type
  5. ITest = interface
  6. end;
  7. TBar = class;
  8. TFoo = class(TObject, ITest)
  9. Fa: TBar;
  10. property a: TBar read Fa implements ITest;
  11. end;
  12. TBar = class(TObject, ITest)
  13. end;
  14. begin
  15. end.