mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 18:28:12 +02:00
15 lines
257 B
ObjectPascal
15 lines
257 B
ObjectPascal
{%fail}
|
|
{
|
|
This program should fail compilation since array of const
|
|
with cdecl modifier can only be used on last parameter of
|
|
routine
|
|
}
|
|
|
|
procedure proc_const_smallarray_const_2(const arr : array of const; b: byte);cdecl;
|
|
begin
|
|
end;
|
|
|
|
|
|
Begin
|
|
end.
|