mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 13:31:14 +02:00
24 lines
279 B
ObjectPascal
24 lines
279 B
ObjectPascal
{ %fail }
|
|
|
|
{$ifdef fpc}{$mode delphi}{$endif}
|
|
|
|
type
|
|
IA=interface
|
|
function copy:String;
|
|
end;
|
|
|
|
IB=interface(IA)
|
|
function copy:integer;
|
|
end;
|
|
|
|
to1 = class(tinterfacedobject,ia,ib)
|
|
function copy:string;
|
|
end;
|
|
|
|
function to1.copy:string;
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
end.
|