tgenconst2.pp 218 B

1234567891011121314
  1. { %NORUN }
  2. {$mode objfpc}
  3. {
  4. test lists of types/contants
  5. }
  6. program tgenconst2;
  7. type
  8. generic TMoreThanOne<T1,T2;const U1,U2:integer> = record end;
  9. var
  10. a: specialize TMoreThanOne<integer,string,10,10>;
  11. begin
  12. end.