mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 12:18:27 +02:00
25 lines
320 B
ObjectPascal
25 lines
320 B
ObjectPascal
{ %NORUN }
|
|
unit tgenconst20;
|
|
|
|
{$mode delphi}
|
|
|
|
interface
|
|
|
|
procedure Test<const A, B: LongInt>;
|
|
procedure Test2<const A, B: LongInt>;
|
|
|
|
implementation
|
|
|
|
{ currently it does not matter whether , or ; is used in the definition (Delphi
|
|
compatible) }
|
|
|
|
procedure Test<A, B>;
|
|
begin
|
|
end;
|
|
|
|
procedure Test2<A; B>;
|
|
begin
|
|
end;
|
|
|
|
end.
|