mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:38:14 +02:00

The main adjustments were as follows: - fixing coding style and identation - fixing some typos - using a better name for the property in tcallcandidates which holds the symbols created for anonymous parameter values
18 lines
249 B
ObjectPascal
18 lines
249 B
ObjectPascal
{%FAIL}
|
|
{$mode objfpc}
|
|
{$modeswitch implicitfunctionspecialization}
|
|
{
|
|
Test that sets are not compatible with open arrays
|
|
}
|
|
|
|
program timpfuncspez3;
|
|
|
|
generic procedure DoThis<T>(a: array of T);
|
|
begin
|
|
end;
|
|
|
|
const
|
|
c1 = [1,2,3];
|
|
begin
|
|
DoThis(c1);
|
|
end. |