mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 10:38:14 +02:00
18 lines
256 B
ObjectPascal
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.
|