fpc/tests/tbf/tb0127.pp
2024-10-31 22:35:04 +01:00

26 lines
388 B
ObjectPascal

{ %fail }
{ Interfaces only supported in v1.1 }
{ Should give the same error as /tbf/tb0125.pp }
{$ifdef fpc}
{$mode delphi}
{$endif}
type
tinterface = interface
procedure x;
end;
tderivedinterface = interface(tinterface)
procedure x;
end;
procedure testintparam(var i : tinterface);
begin
end;
var
t1 : tderivedinterface;
begin
testintparam(t1);
end.