tgenconst19.pp 352 B

123456789101112131415161718192021222324
  1. { %NORUN }
  2. unit tgenconst19;
  3. {$mode objfpc}
  4. interface
  5. generic procedure Test<const A, B: LongInt>;
  6. generic procedure Test2<const A, B: LongInt>;
  7. implementation
  8. { currently it does not matter whether , or ; is used in the definition (Delphi
  9. compatible) }
  10. generic procedure Test<A, B>;
  11. begin
  12. end;
  13. generic procedure Test2<A; B>;
  14. begin
  15. end;
  16. end.