fpc/tests/webtbs/tw26976.pp
Jonas Maebe dc4a2a59f7 * initialise mineq before exiting the parameter checking loop for open array
parameters (bug in r28862, mantis #26976)

git-svn-id: trunk@28954 -
2014-10-31 20:45:54 +00:00

18 lines
256 B
ObjectPascal

{ %norun }
{$MODE OBJFPC}
program test;
type
TTest = class end;
procedure E(Arg1: array of UTF8String);
begin end;
procedure E(Arg1: array of TTest);
begin end;
begin
E(['aa']); // Incompatible types: got "Constant String" expected "TTest"
end.