fpc/tests/test/tfuncref11.pp

18 lines
206 B
ObjectPascal

{ %FAIL }
program tfuncref11;
{$mode objfpc}{$H+}
{$modeswitch functionreferences}
uses
ufuncref10;
var
l: LongInt;
i: ITestFunc3;
begin
{ only the String Invoke is available }
l := i();
end.